after uncommenting in typemap.dat the following line:
xsd__dateTime = #import "custom/chrono_time_point.h" | xsd__dateTime
I run wsdl2h and everything is fine..
but later in soapcpp2 I'm getting the following warning:
custom/chrono_time_point.h(70): *WARNING*: invalid type specified (missing ';' or type name used as non-type identifier?)
what is this?
You do not need to #include "custom/chrono_time_point.h"
in your code base after adding that line to your typemap.dat
. Adding this line suffices to use std::chrono::system_clock::time_point
for XML xsd:dateTime
values.
Note that #import custom/chrono_time_point.h
is used by soapcpp2 to register the std::chrono::system_clock::time_point
serializer.
The serialization implementation is custom/chrono_time_point.cpp
which should also be compiled together with the project.