JuliaHubOSS / llvm-cbe

resurrected LLVM "C Backend", with improvements
Other
826 stars 141 forks source link

Return `int` in the main function #113

Closed aminya closed 3 years ago

aminya commented 3 years ago

Currently, the compiler returns unint32_t which prevents compiling the generated code with a C++ compiler.

int main() {
    //...
}
aminya commented 3 years ago

I noticed there is a recent commit in this regard. I haven't tried that yet: #99

aminya commented 3 years ago

OK. It seems that #99 has already fixed this.

hikari-no-yume commented 3 years ago

Glad to hear it fixed the problem! 😄