glibconfig.h.win32.in: MSVC warning pragmas



2001-11-23  Hans Breuer  <hans breuer org>

	* glibconfig.h.win32.in : added recommended pragma list for
	msvc again. They are an invaluable help of letting the
	compiler catch bugs.

I won't object that these pragmas indeed are useful most of the
time. But is it really GLib's job to dictate for developers working
with any GLib-using software that various compiler warnings are turned
on and off in source files that include (indirectly) glibconfig.h?

It would be OK to have these in config.h.win32.in (and thus only
affect compilation of GLib itself). But what if some GLib-using
software really needs to be compiled with "truncation from int to
char" warnings when searching for some elusive bug, for instance. The
developer working on finding said bug won't be pleased to notice that
glibconfig.h has turned off those warnings.

--tml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]