[GCC-XML] How to get more info from error message, resulting in ICE?

Marcus Lindblom macke at yar.nu
Fri Jan 9 04:59:11 EST 2009


Marcus Lindblom wrote:
> Marcus Lindblom wrote:
>> Hi,
>>
>> Background: I'm trying to get the OpenSG python bindings to compile on 
>> Windows/VC90 (which use Py++, which use gccxml) They have worked on 
>> linux and gcc, so I just need to find all bugs and add the appropriate 
>> ifdefs, etc.
>>
>> The problem I've got is that I get an error message that does not give 
>> me very much info, and since I don't know gcc that much I haven't been 
>> able to find (or figure out) if it can give me more info (or even how 
>> to debug this better.)
>>
>> The error message is included and it doesn't really point to the 
>> source of there error, AFAICS. Perhaps it's trying, then ICEs?
> 
> The full preprocessed source is available at the following url, if it 
> helps.
> 
> http://www.yar.nu/macke/misc/gccxml-pyopensg-ice.txt.gz

I reran with the latest CVS (from 1 hour ago), on Windows Vista 32-bit.

I've used the following command line:

"c:\program files\gccxml\bin\gccxml.exe" 
-I"J:\3rd\OpenSG\opensg2_trunk\build.win32.cl.9.0\instlinks\include" 
-I"C:\Program Files\boost\boost_1_36_0" -DBOOST_PYTHON_MAX_ARITY=21 
--gccxml-compiler cl -D_MSC_VER=1500 -DWIN32=1 -DOSG_LONGLONG_HAS_LL 
-I"." -I"osg_module" 
-I"J:\3rd\OpenSG\opensg2_trunk\build.win32.cl.9.0\instlinks\include" 
-I"J:\3rd\OpenSG\opensg2_trunk\build.win32.cl.9.0\instlinks\include\OpenSG" 
-I"j:\3rd\boost\boost_1_36_0" -I"c:\dev\python26\include" 
"osg_module\osgmodule_mainheader.h" -fxml="%CD%\out.xml" %*

Cheers,
/Marcus




More information about the gccxml mailing list