From a1de4a8f5de0b72bdcc5f57d330c94c461d33615 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Wed, 10 Sep 2008 17:35:05 +0000 Subject: [PATCH] Using -ansi causes problems. Get rid of it. --- configure/os/CONFIG.Common.RTEMS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index b05c6ef26..b2a058196 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -100,8 +100,9 @@ CODE_CXXFLAGS = #-------------------------------------------------- # RTEMS uses the inline keyword so -pedantic causes too many problems. -CONFORM_CFLAGS_STRICT = -ansi -CONFORM_CXXFLAGS_STRICT = -ansi +# Using -ansi turns off lots of useful prototypes (e.g. strtok_r). +CONFORM_CFLAGS_STRICT = +CONFORM_CXXFLAGS_STRICT = #-------------------------------------------------- # Command-line input support