Alan Coopersmith wrote:
> 
> 
> Christian Thalinger wrote:
>> Maybe someone else knows how to print them with SunCC...
> 

i'm using the following:
  -v                    Same as -verbose=diags
-Xm                   Support dollar character in C++ identifiers
-errtags[=<b>]        Display messages with tags; <b>={yes|no}
+w                    Print warnings about additional questionable 
constructs

for instance:
% CC +w -v -Xm -xlibmopt -errtags=yes /tmp/toot.cc -library=stlport4 -lm
###     command line files and options (expanded):
### +w -v -features=iddollar -xlibmopt -errtags=yes /tmp/toot.cc -lm 
-library=no%Cstd,stlport4
### CC: Note: NLSPATH = 
/opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
/opt/SUNWspro/prod/bin/ccfe -y-o -ytoot.o +w -y-fbe 
-y/opt/SUNWspro/prod/bin/fbe -features=iddollar -y-xarch=generic -y-xtab 
-y-verbose -O0 -ptf /tmp/17052%1.%2 -ptx /opt/SUNWspro/prod/bin/CC -ptk 
"+w -v -Xm -xlibmopt -errtags=yes -library=stlport4  -xs " 
-D__SunOS_5_10 -D__SUNPRO_CC=0x580 -Dunix -Dsun -Di386 -D__i386 -D__unix 
-D__sun -D__BUILTIN_VA_ARG_INCR -D__SVR4 -D__SUNPRO_CC_COMPAT=5 
-xdbggen=no%dwarf2+stabs -y-s -xdbggen=incl -I-xbuiltin -errtags 
-xldscope=global -instlib=/opt/SUNWspro/prod/lib/stlport4/libstlport.a 
-I/opt/SUNWspro/prod/include/CC/stlport4 -I/opt/SUNWspro/prod/include/CC 
-I/opt/SUNWspro/prod/include/CC/rw7 -I/opt/SUNWspro/prod/include/cc 
-y-comdat /tmp/toot.cc -s /tmp/ccfe.17052.0.s >&/tmp/ccfe.17052.1.err
rm /tmp/ccfe.17052.0.s
/opt/SUNWspro/prod/bin/stdlibfilt -stderr </tmp/ccfe.17052.1.err
"/tmp/toot.cc", line 7: Error, badinclfile: Could not open include 
file<math>.
"/tmp/toot.cc", line 16: Error, badfunccp: The function "asinh" must 
have a prototype.
2 Error(s) detected.


gerard


Reply via email to