]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeg95.env
The colour is called Aquamarine, not Aquaramine. No,
[wxWidgets.git] / src / makeg95.env
index 34d927865f0a4024d0a78bf4cc5b9f0c1735bd55..67df3d0a74e09681e265a1d32e52bfde8ef7e092 100644 (file)
@@ -94,7 +94,12 @@ GUI = -D__WXMSW__ -D__WINDOWS__
 
 # Optimization
 # OPT = -O
-OPT =
+
+# according to Guillermo Rodriguez Garcia <guille@iies.es> 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).