[llvm-commits] CVS: llvm/Makefile.rules

Brian Gaeke gaeke at cs.uiuc.edu
Tue Oct 28 13:10:02 PST 2003


Changes in directory llvm:

Makefile.rules updated: 1.149 -> 1.150

---
Log message:

Add __STDC_LIMIT_MACROS here.


---
Diffs of the changes:  (+3 -1)

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.149 llvm/Makefile.rules:1.150
--- llvm/Makefile.rules:1.149	Tue Oct 21 13:00:37 2003
+++ llvm/Makefile.rules	Tue Oct 28 13:09:28 2003
@@ -288,8 +288,10 @@
 STRIP_WARN_MSG = "(without symbols)"
 endif
 
-# Allow gnu extensions...
+# Allow GNU extensions:
 CPPFLAGS += -D_GNU_SOURCE
+# Pull in limit macros from stdint.h, even in C++:
+CPPFLAGS += -D__STDC_LIMIT_MACROS
 
 CompileWarnings  := -Wall -W  -Wwrite-strings -Wno-unused
 CompileCommonOpts := $(CompileWarnings) -fshort-enums





More information about the llvm-commits mailing list