Re: [CMake] Tests with assert and Release build type

2015-12-24 Thread Magnus Therning
David Cole writes: > Not only is it possible ... it WILL happen if you use the Microsoft > C++ compiler and try to mix and match Release and Debug compilation > units. > > The MS compiler has some very nice memory tracking facilities built > into the Debug runtime libraries, but it is accomplishe

Re: [CMake] Tests with assert and Release build type

2015-12-24 Thread Magnus Therning
Ruslan Baratov writes: > On 22-Dec-15 04:07, Magnus Therning wrote: >> Ruslan Baratov writes: >> >>> On 20-Dec-15 01:31, Magnus Therning wrote: Ruslan Baratov writes: > How about using RelWithDebInfo? See: > http://stackoverflow.com/a/28124715/2288008 Hmm, I'm probably miss

Re: [CMake] Tests with assert and Release build type

2015-12-24 Thread Ruslan Baratov via CMake
On 24-Dec-15 19:46, Magnus Therning wrote: I'm *not* mixing stuff built with `-g` and stuff built without it. Actually I don't see anything bad about mixing `-g` code with code without `-g`. I'm also *not* mixing linking with debug- and non-debug libraries. Since we cover a lot of aspects

Re: [CMake] cmake 3.4.1 bootstrap compile error

2015-12-24 Thread Burlen Loring
I found that there is an install of gcc in /usr/local/ and this was causing the issue. once I removed that things went smoothly. On 12/23/2015 09:00 AM, Burlen Loring wrote: I tried to download and compile 3.4.1 on Apple 10.10.5. I did ./configure prefix=blah && make here is the error: