xinxinlx / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

windows machines trigger much less warnings than *nix machines #317

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
CMake options should be modified so that more warnings are triggered on 
Windows, at least -Wconversion and -Wsign-conversion. Other suggestions welcome.

Original issue reported on code.google.com by antonin on 26 Mar 2014 at 3:03

GoogleCodeExporter commented 9 years ago
SET(ENV{CFLAGS} "/W4")

ref:
http://msdn.microsoft.com/en-us/library/thxezb7y.aspx

Original comment by mathieu.malaterre on 31 Mar 2014 at 9:47