Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
msys2 fix multiple definition issue #1416
Conversation
|
Uhm, this fix actually broke some of the cygwin builds... did you noticed that? |
|
@basvodde I noticed, I was planning to change the macro to be more restrictive so that cygwin won't be impacted but only msys2, then I've been busy doing other stuff, I will get back on this. Unfortunately the cpputest in msys2 is unusable until I sort this out so I'm currently building it manually as you can see in https://github.com/giuspen/cherrytree/blob/master/.travis.yml avoiding to build that source file at all with the --disable-memory-leak-detection trick
|
|
Closed ? |
|
Sorry @basvodde it's because at the moment I don't have time to debug this issue anymore so I thought to just keep building cpputest on msys2 manually with --disable-memory-leak-detection for now. I noticed that even on msys2 the unit tests of cpputest fail with the changes that make it work for me so maybe it's me doing something wrong. If you have a moment to have a look it's easy to reproduce on msys2, my building instructions are https://github.com/giuspen/cherrytree/blob/master/README.md#building-cherrytree-on-windows if you remove --disable-memory-leak-detection cherrytree unit tests will fail to link with the error at the top of this pull request |
|
Ok, thanks. I'll re-open it then so that we remember to do something about it (especially trying to get this in the automated build) |
|
Thanks @basvodde |
Cpputest has been recently added to msys2 but unfortunately when I build my project under msys2 I got the following issue, which is fixed with this patch: