← Back to team overview

kicad-developers team mailing list archive

Re: Bus upgrades merge



On 4/3/2019 1:34 PM, Tomasz Wlostowski wrote:
> On 02/04/2019 17:27, Wayne Stambaugh wrote:
>> We should always be using wxLogTrace.  Using printf and cout are
>> meaningless on windows and wxLogDebug means that your debugging output
>> is always spewed on debug builds even when it's not needed.  I haven't
>> made the draconian move of making this policy but maybe I should since
>> we seem to be leaving lots of debugging code in all manner of formats in
>> our source code.
> @Wayne Can I somehow use wxLogTrace() on release builds?

Unfortunately no.  All of the wxLog macros compile away in release builds.

> @Jon I just tried to build today's master and it complained about
> missing boost::regex library. There is regexp support in libstdc++ in
> C++11, why go for boost?

I got bit by this too on Debian.  I think boost packaging on Debian is
in a state of flux the moment.  I see the boost-dev package is being
held back even when I do a dist-upgrade.  This is (was) the package that
used to pull in all of boost and it's libraries.  Maybe there is a new
meta package that does that.  I just installed boost-regex-dev and all
was well.

> Tom

Follow ups