Large File support compiler flag and problems on AIX
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
If Large file support is enabled, the -D_LARGE_FILES compiler flag should be used when compiling all files.
We ran into a problem on AIX where some files used this flag and other didn't. On AIX this flag cuases an additional namespace to be added to stl classes. If the caller and callee aren't both compiled with or without this flag then the function symbols don't match since the definition has the additional namespace and the caller is looking for a function wihtout it or vice-versa.
Specifically this flag causes classes like std::basis_string to compile as std::_LFS_ON::basic_string
The specific classes this happened with were the vtkSpyPlotReaderMap and the classes that used it.