mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Add "-notOnce" to the compiler options on the Mac to stop the compiler
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]
This commit is contained in:
parent
be63146e4f
commit
720c09f576
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user