X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9c4b1a2b5b926ced938130b2694b869403397cc..837e57436a89516a5fa9f478f401e06bd872c17c:/src/makeg95.env diff --git a/src/makeg95.env b/src/makeg95.env index 34d927865f..8af9e36408 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -54,7 +54,7 @@ RESFLAGS=$(RCINCSWITCH) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) ########################## Compiler flags ############################# # Miscellaneous compiler options -OPTIONS= -D__EGCS__ # -D__MINGW32__ +OPTIONS= -D__EGCS__ -DSTRICT # -D__MINGW32__ # Debugging information # AIX: comment out. @@ -94,7 +94,12 @@ GUI = -D__WXMSW__ -D__WINDOWS__ # Optimization # OPT = -O -OPT = + +# according to Guillermo Rodriguez Garcia this flag is needed +# to make the standard div() functio work - otherwise it returns absolutely +# incorrect results and completely breaks the wxImage class (where it's used +# extensively) +OPT = -fno-pcc-struct-return # Options for ar archiver # AROPTIONS = crs # For IRIX and Solaris (both SYSVR4).