diff options
author | Hans Breuer <hans@breuer.org> | 2001-11-23 15:59:30 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2001-11-23 15:59:30 +0000 |
commit | 70f846285fd560d919dc285bfece7e1200a65b07 (patch) | |
tree | 2db535bbbdafa0000cd8be7eafdd8f029d4c0a22 | |
parent | 7b8ad79677836e20ef4352e95dfe3a7e0b96a3cc (diff) | |
download | glib-70f846285fd560d919dc285bfece7e1200a65b07.tar.gz glib-70f846285fd560d919dc285bfece7e1200a65b07.tar.bz2 glib-70f846285fd560d919dc285bfece7e1200a65b07.zip |
added -Zm400 to DEPCFLAGS to avoid : gunidecomp.h(5846) : fatal error
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.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 10 | ||||
-rw-r--r-- | glib/makefile.msc.in | 2 | ||||
-rw-r--r-- | glibconfig.h.win32.in | 27 |
10 files changed, 108 insertions, 1 deletions
@@ -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> |