From 1aa50dfae56a15c34f1b93106e39a8c78ea22109 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Fri, 13 Feb 2004 20:05:44 +0000 Subject: [PATCH] Define DEPRECATED so that it can be used in function and variable declarations. llvm-svn: 11391 --- llvm/Makefile.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index fecbaac36c5f..bc93c39f0dc3 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -289,6 +289,9 @@ CPPFLAGS += -D_GNU_SOURCE # 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