This was actually requested a long time ago, and was rejected. I think the
reasons are still valid:
1. It affects only Win32 so it's extra noise in the header files for the
other platforms. I hate the idea of changing sources to work around
Dinkumware's noisy library.
2. It affects a lot of files, so it's just more busy work. We already
spent tons of time just keeping up with Xerces' changes.
3. Users can modify their copy of the VC++ header files to do the same
thing, which not only obviates the need for Xalan to do this, but cleans
up compiles for other projects built using the same header files.
4. VC++ version 7 has an implementation of the Dinkumware library which
has been cleaned up, so the pragmas are not needed. We'll likely move
to VC++ 7 as our primary Windows compiler fairly soon.
Dave
Dick.
[EMAIL PROTECTED] To:
[email protected]
cc: (bcc: David N
Bertoni/Cambridge/IBM)
07/23/2002 01:25 Subject: YAUR
(yet-another-user-request)
PM
As you modify source files that #include stl headers, maybe you could wrap
the #includes in pragmas like:
<eg>
#pragma warning(push,3)
#include <someheader>
#pragma warning(pop)
</eg>
That would remove 3-4k warnings from the Win32 build.
Shouldn't be a problem for any compilers - they're supposed to ignore
#pragmas that are not recognized.