[Windows] __out symbol conflict

Benjamin Kosnik bkoz@redhat.com
Tue Feb 12 18:35:00 GMT 2008


> >> 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.
> >
> > Do you have a complete list of the added macros?
> 
> I don't know if this is complete....
> 
> #ifndef MY_SPECSTRINGS_H__
> #define MY_SPECSTRINGS_H__
> 
> #define __null

[snip]

Thanks. I don't see __z on this list. Does this mean that it is no
longer in conflict with these SAL extensions?

-benjamin



More information about the Libstdc++ mailing list