You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can in general do: cmake -DCMAKE_CXX_FLAGS:STRING=-DANTLR4CPP_EXPORTS
to fix this but maybe one should assume that by default this should be defined if you build the shared library. If you don't define it then the assumption is (at least on Windows: #define ANTLR4CPP_PUBLIC __declspec(dllimport)
which generates errors if you try to compile the C++ files with MinGW g++.
The text was updated successfully, but these errors were encountered:
You can in general do:
cmake -DCMAKE_CXX_FLAGS:STRING=-DANTLR4CPP_EXPORTS
to fix this but maybe one should assume that by default this should be defined if you build the shared library. If you don't define it then the assumption is (at least on Windows:
#define ANTLR4CPP_PUBLIC __declspec(dllimport)
which generates errors if you try to compile the C++ files with MinGW g++.
The text was updated successfully, but these errors were encountered: