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?

########################################################################
In file included from C:/Program Files/boost/boost_1_36_0/boost/python/object/make_instance.hpp:9, from C:/Program Files/boost/boost_1_36_0/boost/python/object/make_ptr_instance.hpp:8, from C:/Program Files/boost/boost_1_36_0/boost/python/to_python_indirect.hpp:11, from C:/Program Files/boost/boost_1_36_0/boost/python/converter/arg_to_python.hpp:10, from C:/Program Files/boost/boost_1_36_0/boost/python/call.hpp:15, from C:/Program Files/boost/boost_1_36_0/boost/python/object_core.hpp:12, from C:/Program Files/boost/boost_1_36_0/boost/python/args.hpp:25, from C:/Program Files/boost/boost_1_36_0/boost/python.hpp:11,
                 from osg_module/ColorWrapper.h:1,
                 from osg_module\osgmodule_mainheader.h:75:
C:/Program Files/boost/boost_1_36_0/boost/python/object/instance.hpp:44: error: a cast to a type other than an integral
or enumeration type cannot appear in a constant-expression
C:/Program Files/boost/boost_1_36_0/boost/python/object/instance.hpp:44: error: '->' cannot appear in a constant-express
ion
C:/Program Files/boost/boost_1_36_0/boost/python/object/instance.hpp:44: error: a cast to a type other than an integral
or enumeration type cannot appear in a constant-expression
C:/Program Files/boost/boost_1_36_0/boost/python/object/instance.hpp:44: error: `&' cannot appear in a constant-expressi
on
In file included from C:/Program Files/boost/boost_1_36_0/boost/python/converter/registry.hpp:9, from C:/Program Files/boost/boost_1_36_0/boost/python/converter/registered.hpp:8, from C:/Program Files/boost/boost_1_36_0/boost/python/object/make_instance.hpp:10, from C:/Program Files/boost/boost_1_36_0/boost/python/object/make_ptr_instance.hpp:8, from C:/Program Files/boost/boost_1_36_0/boost/python/to_python_indirect.hpp:11, from C:/Program Files/boost/boost_1_36_0/boost/python/converter/arg_to_python.hpp:10, from C:/Program Files/boost/boost_1_36_0/boost/python/call.hpp:15, from C:/Program Files/boost/boost_1_36_0/boost/python/object_core.hpp:12, from C:/Program Files/boost/boost_1_36_0/boost/python/args.hpp:25, from C:/Program Files/boost/boost_1_36_0/boost/python.hpp:11,
                 from osg_module/ColorWrapper.h:1,
                 from osg_module\osgmodule_mainheader.h:75:
C:/Program Files/boost/boost_1_36_0/boost/python/converter/rvalue_from_python_data.hpp:99: error: '->' cannot appear in
a constant-expression
C:/Program Files/boost/boost_1_36_0/boost/python/converter/rvalue_from_python_data.hpp:99: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression C:/Program Files/boost/boost_1_36_0/boost/python/converter/rvalue_from_python_data.hpp:99: error: `&' cannot appear in a
 constant-expression
C:/Program Files/boost/boost_1_36_0/boost/python/converter/rvalue_from_python_data.hpp:99: error: template argument 1 is
 invalid
osg_module\osgmodule_mainheader.h:561: internal compiler error: in maybe_emit_vtables, at cp\decl2.c:1521
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
###########################################################################

All help greatly apprectiated. :)

Cheers,
/Marcus

_______________________________________________
gccxml mailing list
[email protected]
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to