I have been using xlC to compile a cpp program with following command
xlC_r -c -+ -qlanglvl=ansi a.cpp for xlC version 6, i want to know the significance of
the flag -qlanglvl=ansi and does any higher xlC version support this flag by defalut?
Re: xlC ansi support2009-03-10T23:23:09ZThis is the accepted answer. This is the accepted answer.Since you're posting to a Linux on Power forum, I'll assume you're running Linux.
xlC Version 6 is a bit old - to put it mildly. Not sure which Linux distro you're running... the newer versions will all need newer levels of the xlC compilers.
So I went to the Linux IBM compiler web site.
Then went to the Library web site from there
and looked in the pdf files...
"ansi" is not listed in the Compiler Reference for either Version 6 or even the latest Version 10.
You might check the pdf files and read about the langlvl to see if that's what you really want.
Re: xlC ansi support2009-03-11T13:10:04ZThis is the accepted answer. This is the accepted answer.by the way.. you might try posting your question over on the compilers discussion forums - they probably will be able to explain things much better over there..