[llvm-commits] [hlvm] r38128 - /hlvm/trunk/build/hlvm.py

Reid Spencer reid at x10sys.com
Sat Jul 7 17:00:07 PDT 2007


Author: reid
Date: Sat Jul  7 19:00:07 2007
New Revision: 38128

URL: http://llvm.org/viewvc/llvm-project?rev=38128&view=rev
Log:
Add -Wno-long-long to circumvent errors with long long in external headers.

Modified:
    hlvm/trunk/build/hlvm.py

Modified: hlvm/trunk/build/hlvm.py
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/build/hlvm.py?rev=38128&r1=38127&r2=38128&view=diff

==============================================================================
--- hlvm/trunk/build/hlvm.py (original)
+++ hlvm/trunk/build/hlvm.py Sat Jul  7 19:00:07 2007
@@ -110,10 +110,12 @@
   env['HLVM_SO_AGE'] = '0'
   env['HLVM_SO_VERSION'] = env['HLVM_SO_CURRENT']+':'+env['HLVM_SO_REVISION']
   env['HLVM_SO_VERSION'] += ':' + env['HLVM_SO_AGE']
-  env['CCFLAGS']  = ' -pipe -Wall -Wcast-align -Wpointer-arith -pedantic'
+  env['CCFLAGS']  = ' -pipe -Wall -Wcast-align -Wpointer-arith -Wno-long-long'
+  env['CCFLAGS'] += ' -pedantic'
   env['CXXFLAGS'] = ' -pipe -Wall -Wcast-align -Wpointer-arith -Wno-deprecated'
-  env['CXXFLAGS']+= ' -Wold-style-cast -Woverloaded-virtual -Wno-unused' 
-  env['CXXFLAGS']+= ' -pedantic -fno-operator-names -ffor-scope -fconst-strings'
+  env['CXXFLAGS']+= ' -Wold-style-cast -Woverloaded-virtual -Wno-unused'
+  env['CXXFLAGS']+= ' -Wno-long-long -pedantic -fno-operator-names -ffor-scope'
+  env['CXXFLAGS']+= ' -fconst-strings'
   env['CPPDEFINES'] = { '__STDC_LIMIT_MACROS':None, '_GNU_SOURCE':None }
   VariantName=''
   if env['small'] == 1:





More information about the llvm-commits mailing list