[xsd-users] Xsd crash

Angelo Difino angelo at smartrm.com
Tue Mar 23 12:24:42 EDT 2010


Hi Boris and all,
We've some troubles using the xsd's headers on a macosx machine:
when we try to compile some our classes that use the xsd heade,r with the
define  -DXP_MACOSX, we had got some troubles related to the
_nil_ symbol defined in literals.ixx.
Seems that macosx somewhere define the same symbol and we really
can't found it out.

Does anybody has any suggestion about how to workaround this trouble?

Any suggestions are more than welcome!

Best,
Angelo

Trace is:
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -arch i386  
-DHAVE_CONFIG_H -I. -I..    -DXP_MACOSX -fshort-wchar -pthread -O0 -ggdb 
-I. -DXP_UNIX -I/Users/dade/smartrm/mxm_workspace/smartrm-cpp/src 
-I/Users/dade/smartrm/mxm_workspace/mxm-cpp/include 
-I/Users/dade/smartrm/mxm_workspace/mxm-cpp/src -MT 
libsmartrm_plugin_la-npp_gate.lo -MD -MP -MF 
.deps/libsmartrm_plugin_la-npp_gate.Tpo -c -o 
libsmartrm_plugin_la-npp_gate.lo `test -f 'npp_gate.cpp' || echo 
'./'`npp_gate.cpp
libtool: compile:  g++ -arch i386 -DHAVE_CONFIG_H -I. -I.. -DXP_MACOSX 
-fshort-wchar -pthread -O0 -ggdb -I. -DXP_UNIX 
-I/Users/dade/smartrm/mxm_workspace/smartrm-cpp/src 
-I/Users/dade/smartrm/mxm_workspace/mxm-cpp/include 
-I/Users/dade/smartrm/mxm_workspace/mxm-cpp/src -MT 
libsmartrm_plugin_la-npp_gate.lo -MD -MP -MF 
.deps/libsmartrm_plugin_la-npp_gate.Tpo -c npp_gate.cpp  -fno-common 
-DPIC -o .libs/libsmartrm_plugin_la-npp_gate.o
In file included from 
/Users/dade/smartrm/install/include/xsd/cxx/tree/parsing.txx:12,
                  from 
/Users/dade/smartrm/install/include/xsd/cxx/tree/parsing.hxx:9,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/configuration/xmlschema.hxx:66,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/configuration/mxmConfiguration.hxx:58,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/configuration/MXMParameters.h:27,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/MXM.h:27,
                  from smartrm_comp-impl.h:30,
                  from plugin.h:50,
                  from npp_gate.cpp:43:
/Users/dade/smartrm/install/include/xsd/cxx/xml/bits/literals.hxx:47: 
error: expected unqualified-id before '__null'
/Users/dade/smartrm/install/include/xsd/cxx/xml/bits/literals.hxx:47: 
error: expected initializer before '__null'
In file included from 
/Users/dade/smartrm/install/include/xsd/cxx/xml/bits/literals.hxx:83,
                  from 
/Users/dade/smartrm/install/include/xsd/cxx/tree/parsing.txx:12,
                  from 
/Users/dade/smartrm/install/include/xsd/cxx/tree/parsing.hxx:9,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/configuration/xmlschema.hxx:66,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/configuration/mxmConfiguration.hxx:58,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/configuration/MXMParameters.h:27,
                  from 
/Users/dade/smartrm/mxm_workspace/mxm-cpp/src/mxm_core/MXM.h:27,
                  from smartrm_comp-impl.h:30,
                  from plugin.h:50,
                  from npp_gate.cpp:43:
/Users/dade/smartrm/install/include/xsd/cxx/xml/bits/literals.ixx:76: 
error: expected unqualified-id before '__null'
/Users/dade/smartrm/install/include/xsd/cxx/xml/bits/literals.ixx:76: 
error: expected initializer before '__null'
npp_gate.cpp: In function 'NPError NPP_GetValue(NPP_t*, NPPVariable, 
void*)':
npp_gate.cpp:165: warning: deprecated conversion from string constant to 
'char*'
npp_gate.cpp:168: warning: deprecated conversion from string constant to 
'char*'
make: *** [libsmartrm_plugin_la-npp_gate.lo] Error 1



More information about the xsd-users mailing list