delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2012/09/15/04:13:56

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <505438AB.5010201@iki.fi>
Date: Sat, 15 Sep 2012 11:13:31 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Invalid tests for __STDC_VERSION__ in DJGPP header files
References: <201209111230 DOT q8BCU0rl001296 AT dexter DOT ludd DOT ltu DOT se> <504F3374 DOT 3080400 AT iki DOT fi> <504F6729 DOT 5000505 AT iki DOT fi>
In-Reply-To: <504F6729.5000505@iki.fi>
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.
--------------020303020608000605040300
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 09/11/2012 07:30 PM, Andris Pavenis wrote:

> Tried
>
> --- stdint.h.orig       2012-09-09 19:12:59.000000000 +0300
> +++ stdint.h    2012-09-11 19:19:56.936112793 +0300
> @@ -9,7 +9,7 @@
>   #endif
>
>   #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
> -  || !defined(__STRICT_ANSI__)
> +  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
>
>   typedef signed char int_least8_t;
>   typedef unsigned char uint_least8_t;
>
> Fixes libstdc++ build problems for gcc-4.8.0 20120909 (again cross-native build as
> after removing libstdc++-v3 build directory 'make -j12' on Intel 3930K rebuilds it
> under Linux in less than 30 seconds)
>
> The same should be done for other header files which has similar checks.
> Does it look OK?

The same recipe has already used elsewhere in other DJGPP v2.04pre header files
when similar C++ related problems were encountered. So I suggest to update all
related checks in DJGPP include directory and its subdirectories.

Many of these blocks are empty (no contents for __STDC_VERSION__ >= 199901L).
I could guess that they were added as place where to put new C standard related
stuff. Attached patch updates all not yet updated checks also empty ones.
I did not remove any of empty checks.

I'll going to do some testing (like building gcc etc). If these tests will be
successful and there will be no objections I'm going to commit the patch

Andris

PS. We should also think about making a new beta version sometimes in not far
     future. The old one is already too old.




--------------020303020608000605040300
Content-Type: text/x-patch;
 name="stdc_version_c++.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="stdc_version_c++.diff"

cvs diff: Diffing include
Index: include/_ansi
===================================================================
RCS file: /cvs/djgpp/djgpp/include/_ansi,v
retrieving revision 1.2
diff -u -r1.2 _ansi
--- include/_ansi	4 Feb 2003 20:31:32 -0000	1.2
+++ include/_ansi	15 Sep 2012 07:41:48 -0000
@@ -8,7 +8,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/bios.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/bios.h,v
retrieving revision 1.3
diff -u -r1.3 bios.h
--- include/bios.h	4 Feb 2003 20:22:50 -0000	1.3
+++ include/bios.h	15 Sep 2012 07:41:48 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/coff.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/coff.h,v
retrieving revision 1.6
diff -u -r1.6 coff.h
--- include/coff.h	5 May 2012 11:31:33 -0000	1.6
+++ include/coff.h	15 Sep 2012 07:41:49 -0000
@@ -23,7 +23,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/conio.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/conio.h,v
retrieving revision 1.6
diff -u -r1.6 conio.h
--- include/conio.h	4 Feb 2003 20:22:55 -0000	1.6
+++ include/conio.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/crt0.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/crt0.h,v
retrieving revision 1.5
diff -u -r1.5 crt0.h
--- include/crt0.h	4 Feb 2003 20:23:00 -0000	1.5
+++ include/crt0.h	15 Sep 2012 07:41:49 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/ctype.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/ctype.h,v
retrieving revision 1.4
diff -u -r1.4 ctype.h
--- include/ctype.h	8 Mar 2003 01:18:31 -0000	1.4
+++ include/ctype.h	15 Sep 2012 07:41:49 -0000
@@ -25,7 +25,7 @@
 int	toupper(int c);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 int	isblank(int c);
 
@@ -36,7 +36,7 @@
 #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/dir.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/dir.h,v
retrieving revision 1.4
diff -u -r1.4 dir.h
--- include/dir.h	4 Feb 2003 20:23:00 -0000	1.4
+++ include/dir.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/direct.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/direct.h,v
retrieving revision 1.2
diff -u -r1.2 direct.h
--- include/direct.h	4 Feb 2003 20:23:04 -0000	1.2
+++ include/direct.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/dirent.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/dirent.h,v
retrieving revision 1.7
diff -u -r1.7 dirent.h
--- include/dirent.h	15 Aug 2012 19:00:19 -0000	1.7
+++ include/dirent.h	15 Sep 2012 07:41:49 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/dlfcn.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/dlfcn.h,v
retrieving revision 1.1
diff -u -r1.1 dlfcn.h
--- include/dlfcn.h	23 Apr 2003 06:07:10 -0000	1.1
+++ include/dlfcn.h	15 Sep 2012 07:41:49 -0000
@@ -8,7 +8,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/dos.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/dos.h,v
retrieving revision 1.13
diff -u -r1.13 dos.h
--- include/dos.h	10 Dec 2007 19:15:10 -0000	1.13
+++ include/dos.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __STRICT_ANSI__
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/dpmi.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/dpmi.h,v
retrieving revision 1.6
diff -u -r1.6 dpmi.h
--- include/dpmi.h	11 Dec 2007 07:27:40 -0000	1.6
+++ include/dpmi.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/errno.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/errno.h,v
retrieving revision 1.6
diff -u -r1.6 errno.h
--- include/errno.h	4 Feb 2003 20:17:16 -0000	1.6
+++ include/errno.h	15 Sep 2012 07:41:49 -0000
@@ -18,7 +18,7 @@
 extern int errno;
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #define EILSEQ		41
 
Index: include/fcntl.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/fcntl.h,v
retrieving revision 1.9
diff -u -r1.9 fcntl.h
--- include/fcntl.h	14 Sep 2009 23:18:46 -0000	1.9
+++ include/fcntl.h	15 Sep 2012 07:41:49 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/file.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/file.h,v
retrieving revision 1.2
diff -u -r1.2 file.h
--- include/file.h	4 Feb 2003 20:23:22 -0000	1.2
+++ include/file.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/float.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/float.h,v
retrieving revision 1.2
diff -u -r1.2 float.h
--- include/float.h	11 Mar 2003 20:46:30 -0000	1.2
+++ include/float.h	15 Sep 2012 07:41:49 -0000
@@ -52,14 +52,14 @@
 #define LDBL_MIN_EXP	(-16381)
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/fnmatch.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/fnmatch.h,v
retrieving revision 1.4
diff -u -r1.4 fnmatch.h
--- include/fnmatch.h	4 Feb 2003 20:23:22 -0000	1.4
+++ include/fnmatch.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/ftw.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/ftw.h,v
retrieving revision 1.2
diff -u -r1.2 ftw.h
--- include/ftw.h	4 Feb 2003 20:23:26 -0000	1.2
+++ include/ftw.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/getpagesize.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/getpagesize.h,v
retrieving revision 1.2
diff -u -r1.2 getpagesize.h
--- include/getpagesize.h	4 Feb 2003 20:23:26 -0000	1.2
+++ include/getpagesize.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/glob.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/glob.h,v
retrieving revision 1.4
diff -u -r1.4 glob.h
--- include/glob.h	4 Feb 2003 20:23:30 -0000	1.4
+++ include/glob.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/go32.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/go32.h,v
retrieving revision 1.6
diff -u -r1.6 go32.h
--- include/go32.h	10 May 2003 15:25:25 -0000	1.6
+++ include/go32.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/gppconio.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/gppconio.h,v
retrieving revision 1.2
diff -u -r1.2 gppconio.h
--- include/gppconio.h	4 Feb 2003 20:23:30 -0000	1.2
+++ include/gppconio.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/grp.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/grp.h,v
retrieving revision 1.5
diff -u -r1.5 grp.h
--- include/grp.h	4 Feb 2003 20:23:38 -0000	1.5
+++ include/grp.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/inttypes.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/inttypes.h,v
retrieving revision 1.2
diff -u -r1.2 inttypes.h
--- include/inttypes.h	20 Feb 2003 19:03:24 -0000	1.2
+++ include/inttypes.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 /* ANSI/ISO C99 says these should not be visible in C++ unless
    explicitly requested.  */
Index: include/io.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/io.h,v
retrieving revision 1.6
diff -u -r1.6 io.h
--- include/io.h	4 Feb 2003 20:23:33 -0000	1.6
+++ include/io.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/keys.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/keys.h,v
retrieving revision 1.4
diff -u -r1.4 keys.h
--- include/keys.h	4 Feb 2003 20:23:38 -0000	1.4
+++ include/keys.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/limits.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/limits.h,v
retrieving revision 1.6
diff -u -r1.6 limits.h
--- include/limits.h	4 Feb 2003 20:23:42 -0000	1.6
+++ include/limits.h	15 Sep 2012 07:41:49 -0000
@@ -41,14 +41,14 @@
 #endif
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/locale.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/locale.h,v
retrieving revision 1.7
diff -u -r1.7 locale.h
--- include/locale.h	11 Dec 2007 07:01:21 -0000	1.7
+++ include/locale.h	15 Sep 2012 07:41:49 -0000
@@ -61,7 +61,7 @@
 char *		setlocale(int _category, const char *_locale);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/malloc.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/malloc.h,v
retrieving revision 1.2
diff -u -r1.2 malloc.h
--- include/malloc.h	4 Feb 2003 20:23:42 -0000	1.2
+++ include/malloc.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/math.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/math.h,v
retrieving revision 1.14
diff -u -r1.14 math.h
--- include/math.h	6 Apr 2008 21:14:54 -0000	1.14
+++ include/math.h	15 Sep 2012 07:41:49 -0000
@@ -86,7 +86,7 @@
 #endif
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 extern float       __dj_huge_valf;
 extern long double __dj_huge_vall;
Index: include/memory.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/memory.h,v
retrieving revision 1.2
diff -u -r1.2 memory.h
--- include/memory.h	4 Feb 2003 20:23:48 -0000	1.2
+++ include/memory.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/mntent.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/mntent.h,v
retrieving revision 1.4
diff -u -r1.4 mntent.h
--- include/mntent.h	4 Feb 2003 20:23:48 -0000	1.4
+++ include/mntent.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/osfcn.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/osfcn.h,v
retrieving revision 1.2
diff -u -r1.2 osfcn.h
--- include/osfcn.h	4 Feb 2003 20:23:53 -0000	1.2
+++ include/osfcn.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/pc.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/pc.h,v
retrieving revision 1.8
diff -u -r1.8 pc.h
--- include/pc.h	4 Feb 2003 20:23:59 -0000	1.8
+++ include/pc.h	15 Sep 2012 07:41:49 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/process.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/process.h,v
retrieving revision 1.6
diff -u -r1.6 process.h
--- include/process.h	4 Feb 2003 20:23:19 -0000	1.6
+++ include/process.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/pwd.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/pwd.h,v
retrieving revision 1.5
diff -u -r1.5 pwd.h
--- include/pwd.h	4 Feb 2003 20:24:11 -0000	1.5
+++ include/pwd.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/random.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/random.h,v
retrieving revision 1.2
diff -u -r1.2 random.h
--- include/random.h	4 Feb 2003 20:23:59 -0000	1.2
+++ include/random.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/regex.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/regex.h,v
retrieving revision 1.3
diff -u -r1.3 regex.h
--- include/regex.h	4 Feb 2003 20:24:05 -0000	1.3
+++ include/regex.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/search.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/search.h,v
retrieving revision 1.7
diff -u -r1.7 search.h
--- include/search.h	11 Dec 2007 07:27:40 -0000	1.7
+++ include/search.h	15 Sep 2012 07:41:49 -0000
@@ -18,7 +18,7 @@
 #endif
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/setjmp.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/setjmp.h,v
retrieving revision 1.9
diff -u -r1.9 setjmp.h
--- include/setjmp.h	30 Jul 2011 19:16:38 -0000	1.9
+++ include/setjmp.h	15 Sep 2012 07:41:49 -0000
@@ -28,7 +28,7 @@
 #define setjmp setjmp   /* required by C++ standard */
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/signal.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/signal.h,v
retrieving revision 1.6
diff -u -r1.6 signal.h
--- include/signal.h	4 Feb 2003 20:24:16 -0000	1.6
+++ include/signal.h	15 Sep 2012 07:41:49 -0000
@@ -37,7 +37,7 @@
 void	(*signal(int _sig, void (*_func)(int)))(int);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
   
Index: include/std.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/std.h,v
retrieving revision 1.2
diff -u -r1.2 std.h
--- include/std.h	4 Feb 2003 20:24:16 -0000	1.2
+++ include/std.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/stdarg.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/stdarg.h,v
retrieving revision 1.10
diff -u -r1.10 stdarg.h
--- include/stdarg.h	1 Aug 2009 05:22:57 -0000	1.10
+++ include/stdarg.h	15 Sep 2012 07:41:49 -0000
@@ -56,14 +56,14 @@
 #endif /* #if ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96)) || (__GNUC__ >= 3) */
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/stdbool.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/stdbool.h,v
retrieving revision 1.1
diff -u -r1.1 stdbool.h
--- include/stdbool.h	19 Jan 2004 09:34:59 -0000	1.1
+++ include/stdbool.h	15 Sep 2012 07:41:49 -0000
@@ -2,7 +2,7 @@
 #define __dj_stdbool__h_
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #define bool _Bool
 #define true 1
Index: include/stddef.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/stddef.h,v
retrieving revision 1.6
diff -u -r1.6 stddef.h
--- include/stddef.h	11 Dec 2007 07:01:21 -0000	1.6
+++ include/stddef.h	15 Sep 2012 07:41:49 -0000
@@ -44,14 +44,14 @@
 #endif
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/stdint.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/stdint.h,v
retrieving revision 1.5
diff -u -r1.5 stdint.h
--- include/stdint.h	17 Dec 2010 01:47:32 -0000	1.5
+++ include/stdint.h	15 Sep 2012 07:41:49 -0000
@@ -9,7 +9,7 @@
 #endif
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 typedef signed char int_least8_t;
 typedef unsigned char uint_least8_t;
@@ -142,7 +142,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDIGN
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/stdio.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/stdio.h,v
retrieving revision 1.13
diff -u -r1.13 stdio.h
--- include/stdio.h	6 Apr 2008 23:51:00 -0000	1.13
+++ include/stdio.h	15 Sep 2012 07:41:49 -0000
@@ -122,7 +122,7 @@
 int	vsprintf(char *_s, const char *_format, va_list _ap);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 int	snprintf(char *str, size_t n, const char *fmt, ...);
 int	vfscanf(FILE *_stream, const char *_format, va_list _ap);
Index: include/stdlib.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/stdlib.h,v
retrieving revision 1.19
diff -u -r1.19 stdlib.h
--- include/stdlib.h	15 Sep 2011 22:13:53 -0000	1.19
+++ include/stdlib.h	15 Sep 2012 07:41:49 -0000
@@ -85,7 +85,7 @@
 int	wctomb(char *_s, wchar_t _wchar);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 typedef struct {
   long long int quot;
Index: include/string.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/string.h,v
retrieving revision 1.10
diff -u -r1.10 string.h
--- include/string.h	11 Dec 2007 07:01:21 -0000	1.10
+++ include/string.h	15 Sep 2012 07:41:49 -0000
@@ -53,7 +53,7 @@
 size_t	strxfrm(char *  _s1, const char *  _s2, size_t _n);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/strings.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/strings.h,v
retrieving revision 1.2
diff -u -r1.2 strings.h
--- include/strings.h	4 Feb 2003 20:24:20 -0000	1.2
+++ include/strings.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/termios.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/termios.h,v
retrieving revision 1.4
diff -u -r1.4 termios.h
--- include/termios.h	4 Feb 2003 20:24:25 -0000	1.4
+++ include/termios.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/time.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/time.h,v
retrieving revision 1.12
diff -u -r1.12 time.h
--- include/time.h	5 Jan 2011 23:35:26 -0000	1.12
+++ include/time.h	15 Sep 2012 07:41:49 -0000
@@ -68,7 +68,7 @@
 time_t		time(time_t *_tod);
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/tzfile.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/tzfile.h,v
retrieving revision 1.2
diff -u -r1.2 tzfile.h
--- include/tzfile.h	4 Feb 2003 20:24:25 -0000	1.2
+++ include/tzfile.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/unistd.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/unistd.h,v
retrieving revision 1.19
diff -u -r1.19 unistd.h
--- include/unistd.h	11 Dec 2007 07:01:21 -0000	1.19
+++ include/unistd.h	15 Sep 2012 07:41:49 -0000
@@ -15,7 +15,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/utime.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/utime.h,v
retrieving revision 1.4
diff -u -r1.4 utime.h
--- include/utime.h	4 Feb 2003 20:24:39 -0000	1.4
+++ include/utime.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/values.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/values.h,v
retrieving revision 1.2
diff -u -r1.2 values.h
--- include/values.h	4 Feb 2003 20:24:34 -0000	1.2
+++ include/values.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/varargs.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/varargs.h,v
retrieving revision 1.7
diff -u -r1.7 varargs.h
--- include/varargs.h	4 Feb 2003 20:24:34 -0000	1.7
+++ include/varargs.h	15 Sep 2012 07:41:49 -0000
@@ -54,7 +54,7 @@
 #endif /* #if ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96)) || (__GNUC__ >= 3) */
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
   
Index: include/wchar.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/wchar.h,v
retrieving revision 1.6
diff -u -r1.6 wchar.h
--- include/wchar.h	4 Feb 2003 20:24:39 -0000	1.6
+++ include/wchar.h	15 Sep 2012 07:41:49 -0000
@@ -31,7 +31,7 @@
 } mbstate_t;
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/wctype.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/wctype.h,v
retrieving revision 1.7
diff -u -r1.7 wctype.h
--- include/wctype.h	4 Feb 2003 20:26:30 -0000	1.7
+++ include/wctype.h	15 Sep 2012 07:41:49 -0000
@@ -33,7 +33,7 @@
 typedef const unsigned char *wctrans_t;
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
cvs diff: Diffing include/debug
Index: include/debug/dbgcom.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/dbgcom.h,v
retrieving revision 1.7
diff -u -r1.7 dbgcom.h
--- include/debug/dbgcom.h	4 Feb 2003 20:22:38 -0000	1.7
+++ include/debug/dbgcom.h	15 Sep 2012 07:41:49 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/debug/redir.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/redir.h,v
retrieving revision 1.2
diff -u -r1.2 redir.h
--- include/debug/redir.h	4 Feb 2003 20:22:38 -0000	1.2
+++ include/debug/redir.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/debug/stab.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/stab.h,v
retrieving revision 1.4
diff -u -r1.4 stab.h
--- include/debug/stab.h	4 Feb 2003 20:22:42 -0000	1.4
+++ include/debug/stab.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/debug/syms.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/syms.h,v
retrieving revision 1.4
diff -u -r1.4 syms.h
--- include/debug/syms.h	4 Feb 2003 20:22:42 -0000	1.4
+++ include/debug/syms.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/debug/tss.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/tss.h,v
retrieving revision 1.2
diff -u -r1.2 tss.h
--- include/debug/tss.h	4 Feb 2003 20:22:46 -0000	1.2
+++ include/debug/tss.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/debug/v2load.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/v2load.h,v
retrieving revision 1.2
diff -u -r1.2 v2load.h
--- include/debug/v2load.h	4 Feb 2003 20:22:46 -0000	1.2
+++ include/debug/v2load.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/debug/wild.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/debug/wild.h,v
retrieving revision 1.2
diff -u -r1.2 wild.h
--- include/debug/wild.h	4 Feb 2003 20:22:50 -0000	1.2
+++ include/debug/wild.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
cvs diff: Diffing include/inlines
Index: include/inlines/ctype.ha
===================================================================
RCS file: /cvs/djgpp/djgpp/include/inlines/ctype.ha,v
retrieving revision 1.4
diff -u -r1.4 ctype.ha
--- include/inlines/ctype.ha	20 Feb 2003 19:07:47 -0000	1.4
+++ include/inlines/ctype.ha	15 Sep 2012 07:41:49 -0000
@@ -32,7 +32,7 @@
 #define isxdigit(c) (__dj_ctype_flags[(int)(c)+1] & __dj_ISXDIGIT)
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #define isblank(c) (__dj_ctype_flags[(int)(c)+1] & __dj_ISBLANK)
 
cvs diff: Diffing include/libc
Index: include/libc/atexit.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/atexit.h,v
retrieving revision 1.3
diff -u -r1.3 atexit.h
--- include/libc/atexit.h	4 Feb 2003 20:24:45 -0000	1.3
+++ include/libc/atexit.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/bss.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/bss.h,v
retrieving revision 1.3
diff -u -r1.3 bss.h
--- include/libc/bss.h	4 Feb 2003 20:24:45 -0000	1.3
+++ include/libc/bss.h	15 Sep 2012 07:41:49 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/dosexec.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/dosexec.h,v
retrieving revision 1.2
diff -u -r1.2 dosexec.h
--- include/libc/dosexec.h	4 Feb 2003 20:24:49 -0000	1.2
+++ include/libc/dosexec.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/dosio.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/dosio.h,v
retrieving revision 1.8
diff -u -r1.8 dosio.h
--- include/libc/dosio.h	4 Feb 2003 20:24:49 -0000	1.8
+++ include/libc/dosio.h	15 Sep 2012 07:41:49 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/environ.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/environ.h,v
retrieving revision 1.2
diff -u -r1.2 environ.h
--- include/libc/environ.h	4 Feb 2003 20:24:53 -0000	1.2
+++ include/libc/environ.h	15 Sep 2012 07:41:49 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/farptrgs.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/farptrgs.h,v
retrieving revision 1.4
diff -u -r1.4 farptrgs.h
--- include/libc/farptrgs.h	5 Jan 2011 23:35:29 -0000	1.4
+++ include/libc/farptrgs.h	15 Sep 2012 07:41:50 -0000
@@ -63,7 +63,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/fd_props.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/fd_props.h,v
retrieving revision 1.9
diff -u -r1.9 fd_props.h
--- include/libc/fd_props.h	26 Mar 2003 19:40:51 -0000	1.9
+++ include/libc/fd_props.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #include <string.h>
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/file.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/file.h,v
retrieving revision 1.12
diff -u -r1.12 file.h
--- include/libc/file.h	12 Jan 2004 10:04:00 -0000	1.12
+++ include/libc/file.h	15 Sep 2012 07:41:50 -0000
@@ -17,7 +17,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/fsexthlp.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/fsexthlp.h,v
retrieving revision 1.2
diff -u -r1.2 fsexthlp.h
--- include/libc/fsexthlp.h	4 Feb 2003 20:25:01 -0000	1.2
+++ include/libc/fsexthlp.h	15 Sep 2012 07:41:50 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/getdinfo.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/getdinfo.h,v
retrieving revision 1.4
diff -u -r1.4 getdinfo.h
--- include/libc/getdinfo.h	4 Feb 2003 20:25:01 -0000	1.4
+++ include/libc/getdinfo.h	15 Sep 2012 07:41:50 -0000
@@ -8,7 +8,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/ieee.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/ieee.h,v
retrieving revision 1.5
diff -u -r1.5 ieee.h
--- include/libc/ieee.h	6 Apr 2008 21:14:56 -0000	1.5
+++ include/libc/ieee.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/internal.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/internal.h,v
retrieving revision 1.2
diff -u -r1.2 internal.h
--- include/libc/internal.h	4 Feb 2003 20:25:05 -0000	1.2
+++ include/libc/internal.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/local.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/local.h,v
retrieving revision 1.2
diff -u -r1.2 local.h
--- include/libc/local.h	4 Feb 2003 20:25:08 -0000	1.2
+++ include/libc/local.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/malloc.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/malloc.h,v
retrieving revision 1.3
diff -u -r1.3 malloc.h
--- include/libc/malloc.h	4 Feb 2003 20:25:08 -0000	1.3
+++ include/libc/malloc.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/stdiohk.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/stdiohk.h,v
retrieving revision 1.2
diff -u -r1.2 stdiohk.h
--- include/libc/stdiohk.h	4 Feb 2003 20:25:12 -0000	1.2
+++ include/libc/stdiohk.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/symlink.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/symlink.h,v
retrieving revision 1.6
diff -u -r1.6 symlink.h
--- include/libc/symlink.h	4 Feb 2003 20:25:12 -0000	1.6
+++ include/libc/symlink.h	15 Sep 2012 07:41:50 -0000
@@ -16,7 +16,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/ttyprvt.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/ttyprvt.h,v
retrieving revision 1.9
diff -u -r1.9 ttyprvt.h
--- include/libc/ttyprvt.h	4 Feb 2003 20:25:17 -0000	1.9
+++ include/libc/ttyprvt.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/libc/unconst.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/unconst.h,v
retrieving revision 1.2
diff -u -r1.2 unconst.h
--- include/libc/unconst.h	4 Feb 2003 20:25:17 -0000	1.2
+++ include/libc/unconst.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
cvs diff: Diffing include/libm
cvs diff: Diffing include/machine
cvs diff: Diffing include/netinet
Index: include/netinet/in.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/netinet/in.h,v
retrieving revision 1.4
diff -u -r1.4 in.h
--- include/netinet/in.h	5 Jan 2011 23:35:31 -0000	1.4
+++ include/netinet/in.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
cvs diff: Diffing include/sys
Index: include/sys/config.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/config.h,v
retrieving revision 1.7
diff -u -r1.7 config.h
--- include/sys/config.h	25 Oct 2003 12:19:44 -0000	1.7
+++ include/sys/config.h	15 Sep 2012 07:41:50 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/dir.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/dir.h,v
retrieving revision 1.2
diff -u -r1.2 dir.h
--- include/sys/dir.h	4 Feb 2003 20:25:20 -0000	1.2
+++ include/sys/dir.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/errno.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/errno.h,v
retrieving revision 1.2
diff -u -r1.2 errno.h
--- include/sys/errno.h	20 Feb 2003 19:08:39 -0000	1.2
+++ include/sys/errno.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/exceptn.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/exceptn.h,v
retrieving revision 1.5
diff -u -r1.5 exceptn.h
--- include/sys/exceptn.h	11 Mar 2003 20:51:15 -0000	1.5
+++ include/sys/exceptn.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/farptr.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/farptr.h,v
retrieving revision 1.4
diff -u -r1.4 farptr.h
--- include/sys/farptr.h	5 Jan 2011 23:35:33 -0000	1.4
+++ include/sys/farptr.h	15 Sep 2012 07:41:50 -0000
@@ -61,7 +61,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/fcntl.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/fcntl.h,v
retrieving revision 1.2
diff -u -r1.2 fcntl.h
--- include/sys/fcntl.h	4 Feb 2003 20:25:25 -0000	1.2
+++ include/sys/fcntl.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/file.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/file.h,v
retrieving revision 1.3
diff -u -r1.3 file.h
--- include/sys/file.h	4 Feb 2003 20:25:29 -0000	1.3
+++ include/sys/file.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/fsext.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/fsext.h,v
retrieving revision 1.10
diff -u -r1.10 fsext.h
--- include/sys/fsext.h	8 Mar 2003 00:40:22 -0000	1.10
+++ include/sys/fsext.h	15 Sep 2012 07:41:50 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/gmon.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/gmon.h,v
retrieving revision 1.2
diff -u -r1.2 gmon.h
--- include/sys/gmon.h	4 Feb 2003 20:25:35 -0000	1.2
+++ include/sys/gmon.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/ioctl.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/ioctl.h,v
retrieving revision 1.6
diff -u -r1.6 ioctl.h
--- include/sys/ioctl.h	4 Feb 2003 20:25:35 -0000	1.6
+++ include/sys/ioctl.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/mman.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/mman.h,v
retrieving revision 1.2
diff -u -r1.2 mman.h
--- include/sys/mman.h	4 Feb 2003 20:25:38 -0000	1.2
+++ include/sys/mman.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/mono.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/mono.h,v
retrieving revision 1.2
diff -u -r1.2 mono.h
--- include/sys/mono.h	4 Feb 2003 20:25:38 -0000	1.2
+++ include/sys/mono.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/movedata.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/movedata.h,v
retrieving revision 1.5
diff -u -r1.5 movedata.h
--- include/sys/movedata.h	4 Feb 2003 20:25:42 -0000	1.5
+++ include/sys/movedata.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/nearptr.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/nearptr.h,v
retrieving revision 1.2
diff -u -r1.2 nearptr.h
--- include/sys/nearptr.h	4 Feb 2003 20:25:42 -0000	1.2
+++ include/sys/nearptr.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/param.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/param.h,v
retrieving revision 1.2
diff -u -r1.2 param.h
--- include/sys/param.h	4 Feb 2003 20:25:48 -0000	1.2
+++ include/sys/param.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/resource.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/resource.h,v
retrieving revision 1.4
diff -u -r1.4 resource.h
--- include/sys/resource.h	4 Feb 2003 20:25:48 -0000	1.4
+++ include/sys/resource.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/segments.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/segments.h,v
retrieving revision 1.5
diff -u -r1.5 segments.h
--- include/sys/segments.h	4 Feb 2003 20:25:54 -0000	1.5
+++ include/sys/segments.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/stat.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/stat.h,v
retrieving revision 1.10
diff -u -r1.10 stat.h
--- include/sys/stat.h	9 Aug 2003 12:32:10 -0000	1.10
+++ include/sys/stat.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/statvfs.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/statvfs.h,v
retrieving revision 1.3
diff -u -r1.3 statvfs.h
--- include/sys/statvfs.h	4 Feb 2003 20:26:00 -0000	1.3
+++ include/sys/statvfs.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/sysmacros.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/sysmacros.h,v
retrieving revision 1.2
diff -u -r1.2 sysmacros.h
--- include/sys/sysmacros.h	4 Feb 2003 20:26:00 -0000	1.2
+++ include/sys/sysmacros.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/system.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/system.h,v
retrieving revision 1.6
diff -u -r1.6 system.h
--- include/sys/system.h	4 Feb 2003 20:26:07 -0000	1.6
+++ include/sys/system.h	15 Sep 2012 07:41:50 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/time.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/time.h,v
retrieving revision 1.4
diff -u -r1.4 time.h
--- include/sys/time.h	4 Feb 2003 20:26:07 -0000	1.4
+++ include/sys/time.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/timeb.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/timeb.h,v
retrieving revision 1.4
diff -u -r1.4 timeb.h
--- include/sys/timeb.h	4 Feb 2003 20:26:13 -0000	1.4
+++ include/sys/timeb.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/times.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/times.h,v
retrieving revision 1.4
diff -u -r1.4 times.h
--- include/sys/times.h	4 Feb 2003 20:26:13 -0000	1.4
+++ include/sys/times.h	15 Sep 2012 07:41:50 -0000
@@ -11,7 +11,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/types.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/types.h,v
retrieving revision 1.11
diff -u -r1.11 types.h
--- include/sys/types.h	11 Dec 2007 07:48:42 -0000	1.11
+++ include/sys/types.h	15 Sep 2012 07:41:50 -0000
@@ -15,7 +15,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/uio.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/uio.h,v
retrieving revision 1.1
diff -u -r1.1 uio.h
--- include/sys/uio.h	14 Mar 2003 19:03:26 -0000	1.1
+++ include/sys/uio.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #include <sys/djtypes.h>
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/utsname.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/utsname.h,v
retrieving revision 1.2
diff -u -r1.2 utsname.h
--- include/sys/utsname.h	4 Feb 2003 20:26:19 -0000	1.2
+++ include/sys/utsname.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/vfs.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/vfs.h,v
retrieving revision 1.2
diff -u -r1.2 vfs.h
--- include/sys/vfs.h	4 Feb 2003 20:26:24 -0000	1.2
+++ include/sys/vfs.h	15 Sep 2012 07:41:50 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/wait.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/wait.h,v
retrieving revision 1.6
diff -u -r1.6 wait.h
--- include/sys/wait.h	4 Feb 2003 20:26:24 -0000	1.6
+++ include/sys/wait.h	15 Sep 2012 07:41:50 -0000
@@ -12,7 +12,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 
Index: include/sys/xdevices.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/xdevices.h,v
retrieving revision 1.2
diff -u -r1.2 xdevices.h
--- include/sys/xdevices.h	4 Feb 2003 20:26:30 -0000	1.2
+++ include/sys/xdevices.h	15 Sep 2012 07:41:50 -0000
@@ -13,7 +13,7 @@
 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
-  || !defined(__STRICT_ANSI__)
+  || !defined(__STRICT_ANSI__) || defined(__cplusplus)
 
 #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
 

--------------020303020608000605040300--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019