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?
This topic has been locked.
2 replies Latest Post - 2009-03-11T13:10:04Z by SystemAdmin
Pinned topic xlC ansi support
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2009-03-11T13:10:04Z at 2009-03-11T13:10:04Z by SystemAdmin
Re: xlC ansi support2009-03-10T23:23:09Z in response to SystemAdminSince 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:04Z in response to SystemAdminby 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..