[xsde-users] XSDE Compilation error : longlong and nolonglong
option in the XSDE build
Boris Kolpackov
boris at codesynthesis.com
Wed Oct 15 09:48:02 EDT 2025
B Balakumaran <balakumaran.b at thalesgroup.com> writes:
> I would like to confirm whether this is a known limitation with mixed
> XSDE runtimes and whether using --namespace-regex to isolate the XML
> Schema runtime (e.g. --namespace-regex xml_schema=xml_schema_img) is
> the recommended solution.
While you can resolve this issue in the generated code by using
different namespaces, this option (XSDE_LONGLONG) is also present
in the XSD/e runtime library (libxsde). This will be a lot harder
to resolve if you need both configurations of the runtime in the
same binary.
Generally, the ability to disable long long support is not meant
as a mechanism to customize the generated code for different
schemas. Rather, it is for dealing with platforms that don't have
support for long long. If your platform supports it, there is no
benefit in disabling it. So I would suggest that you simply compile
all your schemas with the long long support.
More information about the xsde-users
mailing list