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

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Feb 13 14:06:01 PST 2004


Changes in directory llvm:

Makefile.rules updated: 1.178 -> 1.179

---
Log message:

Define DEPRECATED so that it can be used in function and variable
declarations.


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

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.178 llvm/Makefile.rules:1.179
--- llvm/Makefile.rules:1.178	Mon Feb  9 11:38:52 2004
+++ llvm/Makefile.rules	Fri Feb 13 14:05:44 2004
@@ -289,6 +289,9 @@
 # Pull in limit macros from stdint.h, even in C++:
 CPPFLAGS += -D__STDC_LIMIT_MACROS
 
+### FIXME: this is GCC specific
+CPPFLAGS += -DDEPRECATED='__attribute__ ((deprecated))'
+
 CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused
 CompileOptimizeOpts := -O3 -DNDEBUG -finline-functions
 





More information about the llvm-commits mailing list