[xsd-users] cxx-tree Hello example compilation problem on AIX 5.3 using XL C++ v7

Juan Pablo Perez juanpablo.perez at gmail.com
Mon Aug 31 08:53:15 EDT 2009


Ok,

Following up on this...

Boris, you were 100% right! That was the problem :D
Added those options and the example compiled as is.
Thanks a lot
Best Regards.

Juan

On Fri, Aug 28, 2009 at 6:41 PM, Boris Kolpackov<boris at codesynthesis.com> wrote:
> Hi Juan,
>
> Ok, I think I found something. XL C++ has the -qcinc option which
> instructs the compiler to wrap #include into extern "C" {} blocks
> for certain directories. I think this is exactly what's happening.
> It seem that the /usr/include directory is treated this way by
> default (this also happens on my box). For some reason it also
> happens for files in /usr/vacpp/include in your case (this doesn't
> happen on my box). Can you try to add the following command line
> options and see if this helps:
>
> -qnocinc=/usr/include/xsd -qnocinc=/usr/include/xercesc -qnocinc=/usr/vacpp/include
>
> Boris
>




More information about the xsd-users mailing list