Re: [Kicad-developers] DEBUG vs NDEBUG

2016-06-04 Thread Simon Richter
Hi, On 02.06.2016 02:32, Wayne Stambaugh wrote: > Ahh, the old double negative. Using !NDEBUG would be ugly but I suppose > it would be effective. I'm not sure why cmake isn't defining DEBUG for > debug builds. I thought at one time it did but I could be wrong. We define it manually in the co

Re: [Kicad-developers] DEBUG vs NDEBUG

2016-06-01 Thread Wayne Stambaugh
Ahh, the old double negative. Using !NDEBUG would be ugly but I suppose it would be effective. I'm not sure why cmake isn't defining DEBUG for debug builds. I thought at one time it did but I could be wrong. On 6/1/2016 5:38 PM, Simon Richter wrote: > Hi, > > there was a small hiccup with a mi

[Kicad-developers] DEBUG vs NDEBUG

2016-06-01 Thread Simon Richter
Hi, there was a small hiccup with a missing symbol in Release builds, which I also saw in the MSVC builds, and expected to be affecting those only because I don't have explicit logic to set DEBUG and NDEBUG in CMakeLists.txt, assuming that CMake does that for me. CMake does not set DEBUG in Debug