<<< VMSZOO::DISK$NOTES:[NOTES$LIBRARY]VMS_POSIX.NOTE;2 >>> -< POSIX for OpenVMS - Public forum >- ================================================================================ Note 1111.6 How to specify the ANSI C in posix 6 of 7 AIRONE::SICHERA "still for a while with OpenVMS" 37 lines 18-OCT-1994 14:58 -< c89/cxx and the -W option >- -------------------------------------------------------------------------------- The published documentation about the c89/cxx option -W is unclear. The table below shows the allowed arguments of this option and their effects. Of course, certain argument only apply to certain compilers: see your compiler's documentation for more details. Please also note that "c," is always optional. -W c,use_decc $ CC/DECC -W c,use_vaxc $ CC/VAXC -W c,ansi89 /STANDARD=ANSI89 -W c,relaxed_ansi89 /STANDARD=RELAXED -W c,common /STANDARD=COMMON -W c,vaxc /STANDARD=VAXC -W c,portable /STANDARD=PORTABLE -W c,mia /STANDARD=MIA -W c,uchar /UNSIGNED_CHAR -W c,dfloat /FLOAT=D_FLOAT or /NOG_FLOAT -W c,gfloat /FLOAT=G_FLOAT or /G_FLOAT -W c,ieeefloat /FLOAT=IEEE_FLOAT -W c,ieeefloat0 /FLOAT=IEEE_FLOAT/IEEE_MODE=FAST -W c,ieeefloat1 /FLOAT=IEEE_FLOAT/IEEE_MODE=UNDERFLOW_TO_ZERO -W c,ieeefloat2 /FLOAT=IEEE_FLOAT/IEEE_MODE=DENORM_RESULTS -W c,ieeefloat3 /FLOAT=IEEE_FLOAT/IEEE_MODE=INEXAXT -W c,ldsize=64 /L_DOUBLE_SIZE=64 -W c,ldsize=128 /L_DOUBLE_SIZE=128 -W c,round /ROUNDING=NEAREST -W c,round=N /ROUNDING=NEAREST -W c,round=D /ROUNDING=DYNAMIC -W c,round=M /ROUNDING=MINUS_INFINITY -W c,round=C /ROUNDING=CHOPPED -W c,anything_else /anything_else (passed transparently to the compiler) -W l,anything /anything (passed transparently to the linker)