Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make appveyor build both release and debug #1

Open
Bigbossbro08 opened this issue Jan 8, 2020 · 3 comments
Open

Make appveyor build both release and debug #1

Bigbossbro08 opened this issue Jan 8, 2020 · 3 comments

Comments

@Bigbossbro08
Copy link
Contributor

I tried to compile the project with Visual Studio. It seems Visual Studio is failing to compile such big line. Tried to small string by different lines but no real luck.

Log output:
grammar.gen.tab.hpp(2833): error C2026: string too big, trailing characters truncated [F:\freeaoe\build\freeaoe_common.vcxproj

@Bigbossbro08
Copy link
Contributor Author

Seems like I fixed it by changing debug to release. It helps but removes all those independence for debugging on Windows Visual Studio.

@sandsmark
Copy link
Owner

hmm, unfortunately that one is automatically generated. and VS is the only automatic CI system set up, but I should probably set it to build both in release and debug.

@SmallJoker
Copy link

I don't think 2017 is now enough to build freeaoe. 1744a69 increased the required C++ version to 20.

set (CMAKE_CXX_STANDARD 20)

@sandsmark sandsmark changed the title Error C2026 on Visual Studio 2017 64 bit Make appveyor build both release and debug Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants