[C++-sig] pyste, gccxml and boost ublas, random number generator etc
David Abrahams
dave at boost-consulting.com
Mon Aug 8 14:04:06 CEST 2005
Stefan Seefeld <seefeld at sympatico.ca> writes:
> David Abrahams wrote:
>> Stefan Seefeld <seefeld at sympatico.ca> writes:
>
>>>>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.
>
> May be. The problem is that developers have a particular platform
> with a system compiler, and they want to process code that is written
> in and for that environment.
> So the only two options for a windows developer are a) to install a second
> compiler that is more standard compliant
Won't necessarily help. Even a perfectly compliant compiler can
include nonstandard extensions.
> or b) to change the processing tool to understand the MSVC-specific
> constructs. Right ?
c) Use #ifdefs where necessary to make their code "portable" to the
processing tool.
> And if, in particular, they want to 'look' at the code from the
> system compiler's perspective, they don't have a choice but to
> pursue option b).
Yeah I guess so. But how important is that?
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list