delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
From: | <ams AT ludd DOT ltu DOT se> |
Message-Id: | <200501012012.j01KCFgM007432@speedy.ludd.ltu.se> |
Subject: | Re: More complaints from tests/libclink/check |
In-Reply-To: | <lgtdt0tg5o9dh39k47lrcjptfq2l7av6uj@4ax.com> "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 |
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 |
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 <some_supporting_header_files> #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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |