X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Message-Id: <200501012012.j01KCFgM007432@speedy.ludd.ltu.se> Subject: Re: More complaints from tests/libclink/check In-Reply-To: "from Brian Inglis at Jan 1, 2005 12:17:08 pm" To: djgpp-workers AT delorie DOT com Date: Sat, 1 Jan 2005 21:12:15 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-ltu-MailScanner-Information: Please contact the ISP for more information X-ltu-MailScanner: Found to be clean X-MailScanner-From: ams AT ludd DOT ltu DOT se Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk According to Brian Inglis: > There are only two cases currently catered for: non-ISO and non-ISO > and non-POSIX. I don't think so. Or I misunderstand you. DJGPP headers are structured like this: #ifndef guard for multiple inclusions. #ifdef __cplusplus extern "C" { #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING - don't know about this one. #include #undef NULL Here comes all C89 functions. #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ || !defined(__STRICT_ANSI__) Here comes all C99 functions. #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Here comes all POSIX functions. #ifndef _POSIX_SOURCE Here comes all other functions. And last some closing #endifs (and #ifndef __dj_ENFORCE_FUNCTION_CALLS which I don't know anything about). Right, MartinS