]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add "-notOnce" to the compiler options on the Mac to stop the compiler
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 31 Dec 2002 22:40:38 +0000 (22:40 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
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.

[originally from svn r2400]

mkfiles.pl

index 384a88e68a40c786eab8e509d468b006eecbde0c..d9c1f86774bd61dc4b2c9ee3cabfbd27687d0676 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.