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'] + "/boost -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 -Wno-long-long" |
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 |
|
#the long long warning occurs on the Mac |
183 |
cc_optim = "-O3" |
cc_optim = "-O3" |
184 |
cc_debug = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK" |
cc_debug = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK" |
185 |
omp_optim = "" |
omp_optim = "" |