Add "-notOnce" to the compiler options on the Mac to stop the compiler
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Dec 2002 22:40:38 +0000 (22:40 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Dec 2002 22:40:38 +0000 (22:40 +0000)
assuming that duplicate #includes of the same file are idempotent.  I mean,
it's not even true for the standard headers (think <assert.h>), and
certainly isn't true here.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2400 cda61777-01e9-0310-a592-d414129be87e

mkfiles.pl

index 384a88e..d9c1f86 100755 (executable)
@@ -604,7 +604,8 @@ print <<END;
 ROptions     = `Echo "{VER}" | StreamEdit -e "1,\$ replace /=(\xc5)\xa81\xb0/ 'STR=\xb6\xb6\xb6\xb6\xb6"' \xa81 '\xb6\xb6\xb6\xb6\xb6"'"`
 
 # -w 35 disables "unused parameter" warnings
-COptions     = -i : -i :: -w 35 -w err -proto strict
+COptions     = -i : -i :: -i ::charset -w 35 -w err -proto strict -ansi on \xb6
+              -notOnce
 COptions_68K = {COptions} -model far -opt space
 # Enabling "-opt space" for CFM-68K gives me undefined references to
 # _$LDIVT and _$LMODT.