forked from OSchip/llvm-project
Define DEPRECATED so that it can be used in function and variable
declarations. llvm-svn: 11391
This commit is contained in:
parent
e00227248e
commit
1aa50dfae5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue