Changeset 1022


Ignore:
Timestamp:
May 27, 2008, 7:45:35 AM (17 years ago)
Author:
Steven Levine
Message:

Update WARNALL to warn about more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makefile

    r1005 r1022  
    3939# 01 Mar 08 SHL Add missing dependencies.  Add WARNALL support
    4040# 05 May 08 SHL Add FORTIFY support
     41# 26 May 08 SHL Update WARNALL to warn about more
    4142
    4243# Environment:
     
    106107# -sg           generate calls to grow the stack
    107108# -st           touch stack through SS first
    108 # -wcd14        no reference to symbol
    109 # -wcd726       no reference to formal parameter
    110109# -we           treat warnings as errors
    111110# -wx           max warnings
     
    115114# -zq           quiet
    116115
     116# -wx excludes these
     117# See GenCOptions() in openwatcom\bld\cc\c\coptions.c
     118# -wce130       possible loss of precision
     119# -wcd=303      no reference to formal parameter
     120# -wcd=307      obsolete non-prototype declarator
     121# -wcd=308      unprototyped function called
     122# -wcd=309      unprototyped function called indirectly
     123
    117124!ifdef DEBUG
    118 CFLAGS =  -bt=os2 -mf -bd -bm -hd -d2 -olirs -s -sg -j -we -wx -zfp -zgp -zp4 -zq
    119 CFLAGS =  -bt=os2 -mf -bd -bm -hd -d2        -s -sg -j -we -wx -zfp -zgp -zp4 -zq
    120 !else
    121 CFLAGS =  -bt=os2 -mf -bd -bm -hd -d1 -olirs -s -sg -j -we -wx -zfp -zgp -zp4 -zq
    122 !endif
    123 
     125CFLAGS =  -bt=os2 -mf -bd -bm -hd -d2 -olirs -s -sg -j -wx -zfp -zgp -zp4 -zq
     126CFLAGS =  -bt=os2 -mf -bd -bm -hd -d2        -s -sg -j -wx -zfp -zgp -zp4 -zq
     127!else
     128CFLAGS =  -bt=os2 -mf -bd -bm -hd -d1 -olirs -s -sg -j -wx -zfp -zgp -zp4 -zq
     129!endif
     130
     131# 26 May 08 SHL Was reversed
    124132!ifdef WARNALL
    125 CFLAGS += -wcd14 -wcd726
     133CFLAGS += -wce=118 -wce=130 -wce=303 -wce=307 -wce=308 -wce=309
     134!else
     135CFLAGS += -we
    126136!endif
    127137
Note: See TracChangeset for help on using the changeset viewer.