[C++-sig] pyste, gccxml and boost ublas, random number generator etc
David Abrahams
dave at boost-consulting.com
Fri Aug 5 17:59:11 CEST 2005
Stefan Seefeld <seefeld at sympatico.ca> writes:
> David Abrahams wrote:
>> Stefan Seefeld <seefeld at sympatico.ca> writes:
>>
>>
>>>Nicodemus wrote:
>>>
>>>
>>>>I will quote Brad King, the creator of GCCXML, from the gccxml list in a
>>>>thread regarding this problem (hope he does not mind):
>>>>
>>>>"As I said the GCC parser cannot always handle the results of
>>>>preprocessing as if using VC7.1. In the case of system headers the
>>>>GCC-XML installation copies and patches them to fix the problems. In
>>>>this case all the VC-specific hacks in boost are confusing GCC-XML."
>>>>
>>>>Hopefully Brad can shed some more light in a possible workaround. :)
>>>
>>>I can indeed see the problem if you preprocess for CV++ and are then
>>>exposed to non-standard extensions during the parsing.
>>
>>
>> Yeah, but why would you do that when you could preprocess for GCC?
>
> Because that would require a separate gcc to be installed first ?
>
> (The gccxml tarball I unpacked on my linux box doesn't appear to
> contain anything related to a complete development environment
> such as system headers.)
Well, that doesn't seem like it ought to be a significant obstacle.
It seems unreasonable to expect GCCXML to process nonstandard MSVC
constructs correctly.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list