This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[Windows] __out symbol conflict
- From: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Fri, 01 Feb 2008 13:45:56 -0600
- Subject: [Windows] __out symbol conflict
A few years back, MS added macros __in, __out, __z, and a few others to
the W32 API interface, intended to be used with its Standard Annotation
Language (SAL) extensions for verifying program correctness. It is used
in the Windows system headers, and intended to be used in user code as well.
Now that MinGW w32api is attempting to support this feature, we've
realized these macros conflict with template/inline code in libstdc++-v3
headers that also use these names.
What is the proper way to solve this problem?
1) Change __out to something else in GCC headers, perhaps __gcc_out
2) Is it possible to run fixincludes over GCC's own headers, to change
these names?
3) ???