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
The output of CBE is C89 code, and is therefore not meant to be compiled with a C++ compiler (which is not a compatible language), and is not legal to link to a C++ stdlib (or any other existing shared libraries for that matter)
This is my code:
commands for compilation:
clang++ -fdeclspec -S -emit-llvm -g main.cpp
./llvm-cbe main.ll
g++ -fpermissive main.cbe.c
The output of g++ is:
Maybe someone can help.
The text was updated successfully, but these errors were encountered: