niXman / yas

Yet Another Serialization
733 stars 96 forks source link

VS2013 error & MinGW error #5

Closed unusual-aspect closed 9 years ago

unusual-aspect commented 9 years ago

I was try to use this lib in VS 2013 Community Edition, and for now __cplusplus is 199711 (old c++98)

Validation is check in config.hpp, and throw compilation error.

Another issue is when using MinGW (4.8.3):

C:\...\Desktop\yas-master\yas-master\include\yas\serializers\std_types_serializers.hpp:53: In file included from ..\..\include/yas/serializers/std_types_serializers.hpp:53:0,

C:\..\Desktop\yas-master\yas-master\include\yas\serializers\binary\std\std_optional_serializers.hpp:120: error: expected declaration before '}' token
 } // namespace detail
 ^

Using Qt Creator with both compilers. Windows 7 x64 :)

niXman commented 9 years ago

Issue with MinGW is fixed. My bad.

About:

__cplusplus is 199711 YAS is requres C++11 support.

unusual-aspect commented 9 years ago

As part of VS2013 i don't think that will be possible to find a easy work around for it.

MinGW working :)