tpoechtrager / wclang

Cross compile source code easily for Windows with clang on Linux/Unix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llvm 3.8 vs exceptions ?

xantares opened this issue · comments

hi
it seems clang 3.8 supports emitting exceptions now!
can the fno-exception flag be removed ?

Please have a look and let me know. :-)

Ok, as soon as clang hits the repos

@xantares Are you still looking into this?

@baszalmstra, yes, I'm still waiting for clang 3.8 to land in archlinux

@xantares Ah I see, would you happen to have any clue on when that will happen?

It does support compiling with exceptions enabled, on both 32/64 bits arches
cmdargs.exceptions can be set to 0 in src/wclang.cpp for clang >= 3.8

unfortunately on 32 bits it compiles but fails to link:

/usr/i686-w64-mingw32/include/c++/5.3.0/ext/new_allocator.h:110: undefined reference to `_Unwind_Resume'

cc @baszalmstra

It does support compiling with exceptions enabled, on both 32/64 bits arches!
cmdargs.exceptions can be set to 0 in src/wclang.cpp for clang >= 3.8

Compiling was never a problem.

unfortunately on 32 bits it compiles but fails to link:
/usr/i686-w64-mingw32/include/c++/5.3.0/ext/new_allocator.h:110: undefined reference to `_Unwind_Resume'

So nothing has changed. Wrong exceptions are used -- it's not just a missing symbol.

@tpoechtrager, ok, sorry
see you next time for 3.9!