зеркало из https://github.com/github/putty.git
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:
Родитель
be63146e4f
Коммит
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче