Hi Johann,
First of all - please consider usage of build automation tools for C++.
In the Java environment there are two eras - b.m and a.m - Before
Maven and After Maven.
In C++ we have Conan - something rather new - but Conan is what Maven
for Java is.
Antlr 4.10.1 compiles correctly for C++ MSVC 16 / 64 bit version correctly.
Project runs and parser works - here is a living example
https://github.com/michalwidera/Antlr4ConanExample
You will find some issues with MSVC on the 4.10 version.
In case of 32 bit version - just use --build missing for conan build
command if you want to build 32 bit version.
You can check what versions are compiled and tested here:
https://conan.io/center/antlr4-cppruntime
Looking in your post I think that you have linked in your project
files that came from 4.9.3 - AbstractPredicateTransition.cpp - etc.
They do not exist in runtime anymore.
Moreover you need to recompile your grammar with the 4.10.1 grammar compiler.
The Major number of versions (9->10) has changed and there are no bug
fixes but output of generated results can be different.
Input (.g4 file) remains the same - or it is backward compatible but
output could change.
Output in Antlr4 for C++ is a set of .cpp files and runtime.
You shouldn't link directly your project with inner runtime libraries
- compile it separately or use binaries from conan. As you wish.
That's mine advice,
Regards,
M.
> --
> You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
antlr-discussi...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/antlr-discussion/26645160-610b-4275-9d21-2bd434915494n%40googlegroups.com.