jgsogo / conan-apache-log4cxx

Conan package recipe for Apache log4cxx
https://logging.apache.org/
Apache License 2.0
0 stars 0 forks source link

VS2017 failing in appveyor #1

Open jgsogo opened 6 years ago

jgsogo commented 6 years ago
[00:02:54]      3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\vector(911): error C2057: expected constant expression (compiling source file C:\Users\appveyor\.conan\data\apache-log4cxx\0.10.0\jgsogo\testing\build\c55053fa722468040aac28c144258caf95f8315e\logging-log4cxx-0_10_0\src\main\cpp\appenderattachableimpl.cpp) [C:\Users\appveyor\.conan\data\apache-log4cxx\0.10.0\jgsogo\testing\build\c55053fa722468040aac28c144258caf95f8315e\log4cxx.vcxproj]

More info: https://developercommunity.visualstudio.com/content/problem/191480/compiler-crash-includevector682-error-c2057.html

malwoden commented 6 years ago

Just to let you know, with msvc 15.7 preview v14.14 the build appears to work fine. The compiler has been fixed. It might just be a case of using "Visual Studio 2017 Preview" as the worker image until 15.7 is made stable. I haven't tested this myself though.

See: https://developercommunity.visualstudio.com/content/problem/208938/compilation-error-c2057-expected-constant-expressi.html

yRezaei commented 5 years ago

In case anybody wants to know, I just installed the package and rebuild it with Visual Studio 2017 version 15.9.9, and worked perfectly fine. Thanks a lot for providing this package.