From b3a76e8c800c5405c4c291e0475fa8f6e05e0c4e Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Sun, 2 Mar 2003 18:59:52 +0000 Subject: [PATCH] Turn -ansi back on and use osiUnistd.h to provide the missing prototypes. --- configure/os/CONFIG.Common.RTEMS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index fe71e3110..89808a727 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -92,9 +92,9 @@ CODE_CFLAGS = CODE_CXXFLAGS = #-------------------------------------------------- -# RTEMS uses the inline keyword and non-ANSI functions (like strdup) -CONFORM_CFLAGS_STRICT = -CONFORM_CXXFLAGS_STRICT = +# RTEMS uses the inline keyword so -pedantic causes too many problems. +CONFORM_CFLAGS_STRICT = -ansi +CONFORM_CXXFLAGS_STRICT = -ansi #-------------------------------------------------- # Command-line input support