[xsd-users] g++ or clang errors
FLACHET Nicolas
Nicolas.FLACHET at cstb.fr
Mon Oct 23 09:12:17 EDT 2017
Hello Boris,
Thanks to the update I've got a working library for linux & mac.
I still have some warnings that I write below in case it could be helpful for you :
* waring : in "auto-ptr.hxx", right angle brackets (use '> >')
* warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
if (typeid (WindowType::_GenericApplicationPropertyOfWindow_type) == typeid (*b))
Thanks again !
Nicolas.
-----Message d'origine-----
De : Boris Kolpackov [mailto:boris at codesynthesis.com]
Envoyé : vendredi 13 octobre 2017 12:38
À : FLACHET Nicolas
Cc : xsd-users at codesynthesis.com
Objet : Re: [xsd-users] g++ or clang errors
FLACHET Nicolas <Nicolas.FLACHET at cstb.fr> writes:
> On Windows the generation works fine, but on linux & mac I found two problems in my generation :
>
> - lower case string in #includes although relative paths has upper
> cases
There were a few issues in this area that have been fixed for the next release. Can you try the latest pre-release and see if it makes a
difference:
http://codesynthesis.com/~boris/tmp/xsd/4.1.0.a11/
> - error: a space is required between consecutive right angle brackets
> (use '> >')
Have you enabled the C++11 mode (-std=c++11) when compiling with g++ or clang++?
Boris
More information about the xsd-users
mailing list