summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--ChangeLog.pre-2-010
-rw-r--r--ChangeLog.pre-2-1010
-rw-r--r--ChangeLog.pre-2-1210
-rw-r--r--ChangeLog.pre-2-210
-rw-r--r--ChangeLog.pre-2-410
-rw-r--r--ChangeLog.pre-2-610
-rw-r--r--ChangeLog.pre-2-810
-rw-r--r--glib/makefile.msc.in2
-rw-r--r--glibconfig.h.win32.in27
10 files changed, 108 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4706d07c4..e48098935 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 4706d07c4..e48098935 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,13 @@
+2001-11-23 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+ gunidecomp.h(5846) : fatal error C1076: compiler limit :
+ internal heap limit reached; use /Zm to specify a higher limit
+
+ * glibconfig.h.win32.in : added recommended pragma list for
+ msvc again. They are an invaluable help of letting the
+ compiler catch bugs.
+
Thu Nov 22 13:56:55 2001 Owen Taylor <otaylor@redhat.com>
* Version 1.3.11
diff --git a/glib/makefile.msc.in b/glib/makefile.msc.in
index c9ea2dc6b..b89edf932 100644
--- a/glib/makefile.msc.in
+++ b/glib/makefile.msc.in
@@ -9,7 +9,7 @@ TOP = ..\..
INCLUDES = -I . -I ..
DEFINES = -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG
-DEPCFLAGS = $(INTL_CFLAGS) $(LIBICONV_CFLAGS) $(DIRENT_CFLAGS)
+DEPCFLAGS = -Zm400 $(INTL_CFLAGS) $(LIBICONV_CFLAGS) $(DIRENT_CFLAGS)
all : \
..\config.h \
diff --git a/glibconfig.h.win32.in b/glibconfig.h.win32.in
index c39dec7f0..515701644 100644
--- a/glibconfig.h.win32.in
+++ b/glibconfig.h.win32.in
@@ -9,6 +9,33 @@
#include <glib/gmacros.h>
+#ifdef _MSC_VER
+/* Make MSVC more pedantic, this is a recommended pragma list
+ * from _Win32_Programming_ by Rector and Newcomer.
+ */
+#pragma warning(error:4002)
+#pragma warning(error:4003)
+#pragma warning(1:4010)
+#pragma warning(error:4013)
+#pragma warning(1:4016)
+#pragma warning(error:4020)
+#pragma warning(error:4021)
+#pragma warning(error:4027)
+#pragma warning(error:4029)
+#pragma warning(error:4033)
+#pragma warning(error:4035)
+#pragma warning(error:4045)
+#pragma warning(error:4047)
+#pragma warning(error:4049)
+#pragma warning(error:4053)
+#pragma warning(error:4071)
+#pragma warning(disable:4101)
+#pragma warning(error:4150)
+
+#pragma warning(disable:4244) /* No possible loss of data warnings */
+#pragma warning(disable:4305) /* No truncation from int to char warnings */
+#endif /* _MSC_VER */
+
#include <limits.h>
#include <float.h>