This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Windows] __out symbol conflict
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 10 Feb 2008 20:56:13 -0800
- Subject: Re: [Windows] __out symbol conflict
- References: <47A376F4.6070406@aaronwl.com>
Aaron W. LaFramboise wrote:
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.
1) Change __out to something else in GCC headers, perhaps __gcc_out
I am not a libstdc++ maintainer, but that is the change that I would
recommend. I believe that the libstdc++ folks already have a list of
names not to use, and these can go on the list.
2) Is it possible to run fixincludes over GCC's own headers, to change
these names?
We really don't want to do that.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713