176 |
fatalwarning = "" # Switch to turn warnings into errors |
fatalwarning = "" # Switch to turn warnings into errors |
177 |
elif env["CC"] == "gcc": |
elif env["CC"] == "gcc": |
178 |
# GNU C on any system |
# GNU C on any system |
179 |
cc_flags = "-pedantic -Wall -fPIC -ansi -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER -isystem " + env['boost_path'] + " -isystem " + env['python_path'] + " -Wno-sign-compare -Wno-system-headers -Wno-strict-aliasing" |
cc_flags = "-pedantic -Wall -fPIC -ansi -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER -isystem " + env['boost_path'] + "/boost -isystem " + env['python_path'] + " -Wno-sign-compare -Wno-system-headers -Wno-strict-aliasing" |
180 |
#the strict aliasing warning is triggered by some type punning in the boost headers for version 1.34 |
#the strict aliasing warning is triggered by some type punning in the boost headers for version 1.34 |
181 |
#isystem does not seem to prevent this |
#isystem does not seem to prevent this |
182 |
cc_optim = "-O3" |
cc_optim = "-O3" |