Failed on building qlalr submodule when compiling QT5 for VS2012
It seems that there is a constant enum in qt5/qlalr/src/grammar_p.h named "ERROR", and it causes a C2059 error "syntax error: constant". I tried to rename "ERROR" to "ERROR_", and this error disappeared, but other errors occured.
Is there a constant named "ERROR" before this file be compiled? What should I do to solve this problem? Thanks in advance:)
Re: Failed on building qlalr submodule when compiling QT5 for VS2012
Did you ever solve this issue? I am running into exactly the same problem.
Re: Failed on building qlalr submodule when compiling QT5 for VS2012
I have resolved this. The submodule "qlalr" should NOT be downloaded when building Qt. It is intended only as an internal tool for Qt developers, and even then, it is intended only to be built by itself, not as part of a full Qt build. See http://stackoverflow.com/a/15893226/368896.