/[escript]/branches/DataC_2092/SConstruct
ViewVC logotype

Diff of /branches/DataC_2092/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2062 by jfenwick, Tue Nov 18 00:18:08 2008 UTC revision 2063 by jfenwick, Wed Nov 19 04:59:43 2008 UTC
# Line 176  if env["CC"] == "icc": Line 176  if env["CC"] == "icc":
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     = ""

Legend:
Removed from v.2062  
changed lines
  Added in v.2063

  ViewVC Help
Powered by ViewVC 1.1.26