[xsd-users] xsd-3.3.0-gcc-4.7-clang.patch
Juan Carlos Rueda Quezada
jcrq51 at hotmail.com
Fri Jul 4 07:43:20 EDT 2014
Hi Boris
Thaks for your answer. Currently my program compiles ok on mac osx with clang and -std=c++11 but the final deployment is on centOs. Why the patch don't have the same effect on centos with clang++.
Another question, the code that a have writen with the current release would be compatible with the next release?.
Thanks in advance.
Enviado desde Samsung Mobile
<div>-------- Mensaje original --------</div><div>De: Boris Kolpackov <boris at codesynthesis.com> </div><div>Fecha:04/07/2014 06:03 AM (GMT-05:00) </div><div>A: Juan Carlos Rueda Quezada <jcrq51 at hotmail.com> </div><div>CC: xsd-users at codesynthesis.com </div><div>Asunto: Re: [xsd-users] xsd-3.3.0-gcc-4.7-clang.patch </div><div>
</div>
Hi Juan,
Juan Carlos Rueda Quezada <jcrq51 at hotmail.com> writes:
> When i try to build the examples with clang++ and the option -std=c++11,
> i get a lot warnings and errors:
All the diagnostics points to the STL implementation that comes from GCC
4.4. I doubt it very much it can be compiled in the C++11 mode. Are you
able to build any other code that uses STL in this mode?
Even if you resolve these, you will still get some warnings from XSD
code when compiling as C++11 (std::auto_ptr will probably be the most
common one). To resolve these the best option is probably to upgrade
to the pre-release which has support for C++11 (the --std c++11 option).
I am in the final stages of preparing for the release. You can either
wait a week or two or I can build you a beta.
Boris
More information about the xsd-users
mailing list