Re: [cfe-users] order of object files at link affects exception catching

2020-04-05 Thread Richard Smith via cfe-users
On Sun, 5 Apr 2020 at 15:31, krokus via cfe-users wrote: > First of all a preface - This problem was spotted while trying to > build a large C++ project which links a close to 100 of object file > together, plus libraries. I can't replicate this behavior in a simple > isolated test. Just want to

Re: [cfe-users] clang and C++: exporting member function template from library using attribute visibility("default")

2020-04-05 Thread Richard Smith via cfe-users
On Mon, 30 Mar 2020 at 14:19, Alexis Murzeau via cfe-users < cfe-users@lists.llvm.org> wrote: > Hi, > > When using clang, I discovered that it errors out where other compilers > doesn't (GCC and MSVC). > > I'm trying to do this: > - Have a library compiled with -fvisibility=hidden and adding > __

[cfe-users] order of object files at link affects exception catching

2020-04-05 Thread krokus via cfe-users
First of all a preface - This problem was spotted while trying to build a large C++ project which links a close to 100 of object file together, plus libraries. I can't replicate this behavior in a simple isolated test. Just want to understand if potentially this may be caused by clang's compiler or