[xsd-users] expected unqualified-id before ‘void’

Wahid hamishagi at yahoo.com
Mon Mar 19 01:54:59 EDT 2012


Hi every one,
Kindly consider the following map file:

namespace http://www.smart.mit.edu/geo sim_mob {
 include "Link.hpp";
 include "RoadNetwork.hpp";
 
 RoadNetwork_t void Link*;
 Links Link* Link;
 link_t Link;
}

The first type mapping states that  RoadNetwork_t will not want anything to return during its post_  function. however since the namespace has specified sim_mob as the c++-namespace, in the generated code we get:
sim_mob::void

could you help me how to avoid this problem?
thank you 
vahid


More information about the xsd-users mailing list