I am having issues using XL C to compile a c++ project.
Using AIX 5.3, we were using the -D_AIX and -D_AIX50 to compile the project.
We changed AIX version for AIX 6.1.
To update options and looking at the XL C 10.1 documentation, I did not found any information about the -D_AIX50 option (information which was in the XLC 7.0 documentation).
Then, I tried to use -D_AIX61 but compiler return the following warning :
"/usr/vacpp/include/ansic_aix.h", line 19.4: 1506-205 (S) #error "Obsolete header file, please stop using it, or define OLD_ANSIC_AIX_VERSION macro to invoke it"
My question is simple :
Does this fonction still exist ?
What this option is used for ?
Does it provides any specifics optimizations or is it used only for personnal optimization like
if _AIX50 == 1 then
do something else ?
Following the advice in the warning I should only use -DOLD_ANSIC_AIX_VERSION whereas -D_AIX and -D_AIX50 option ?
Thank you very much for your answer !