Strange error message with Linux and Studio 12

I'm trying out Sun Studio 12 on Linux. If I use the -xlang=c99 option, I get:CC: -xlang=c99 is unavailable on Solaris 6This is with $ CC -VCC: Sun C++ 5.9 Linux_i386 Build40_1 2007/02/09
[229 byte] By [BradHardsa] at [2007-11-27 2:15:41]
# 1

I think that this has come up already.

One fundamental problem is that you are using a C option with the C++ compiler (CC). If you want to compile C code, use the C compiler (cc).

In my experience, Sun cc is far less lax when it comes to allowing various C++ or C99 features when compiling C89 code (or allowing C89 syntax when compiling C99 code).

Paul

Paul_Floyda at 2007-7-12 2:12:50 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
This is now fixed; latest build of CC doesn't issue this error. Please wait for Sun Studio 12 bits to be available for download.
MaximKartasheva at 2007-7-12 2:12:50 > top of Java-index,Development Tools,Solaris and Linux Development Tools...