Fix the 'dynamic_cast' not permitted with '-fno-rtti' error when integrated with LLVM/MLIR.#217
Conversation
|
Any chance to can provide an example of how to trigger this issue? Which clang version do you use? |
|
The definition of Add #example/Makefile
CFLAGS = -std=c++1z -lstdc++ -Wall -fno-rtti -Werror -I../src/ -L../
all:
$(CXX) $(CFLAGS) example.cpp -o example -lsqlparser
|
|
Hi @Bouncner, any chance to get this landed? This fix does not introduce any changes but only removes the function definition from the header file. |
Hi @Bouncner, the above issue has been addressed, PTAL. |
c7075a3 to
aaee1ab
Compare
|
Feel free to merge. |
A compile error occurs when including the
"SQLParser.h"in another project. (sql_parser as third-party)Separate the declaration and definition of the
setColumnDefsAndConstraintsshould fix this.