RTEMS header files have just too many functions whose prototypes are removed
when -ansi is specified.
This commit is contained in:
@@ -92,9 +92,10 @@ CODE_CFLAGS =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# RTEMS uses the inline keyword so -pedantic causes too many problems.
|
||||
CONFORM_CFLAGS_STRICT = -ansi
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi
|
||||
# RTEMS uses the inline keyword and some non-ANSI C library functions
|
||||
# so -ansi -pedantic causes too many problems.
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
|
||||
#--------------------------------------------------
|
||||
# Command-line input support
|
||||
|
||||
Reference in New Issue
Block a user