Page MenuHomekolab.org

Suppress the use of stderr and stdout in Utils::logMessage() when compiled with -DNDEBUG (Ref. T934)
AbandonedPublic

Authored by vanmeeuwen on Dec 30 2015, 10:44 AM.

Details

Summary

Suppress the use of stderr and stdout in Utils::logMessage() when compiled with -DNDEBUG

Test Plan

None

Diff Detail

Repository
rLKX libkolabxml
Branch
dev/T934-1.1
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2417
Build 2284: arc lint + arc unit

Event Timeline

vanmeeuwen updated this revision to Diff 135.Dec 30 2015, 10:44 AM
vanmeeuwen retitled this revision from to Suppress the use of stderr and stdout in Utils::logMessage() when compiled with -DNDEBUG (Ref. T934).
vanmeeuwen updated this object.
vanmeeuwen edited the test plan for this revision. (Show Details)
vanmeeuwen added a reviewer: Library Developers.
vanmeeuwen planned changes to this revision.Dec 30 2015, 10:51 AM
vanmeeuwen updated this revision to Diff 138.Dec 30 2015, 10:54 AM
  • -DNDEBUG doesn't make it at all :/
vanmeeuwen updated this revision to Diff 139.Dec 30 2015, 10:55 AM
  • -DNDEBUG doesn't make it at all :/

This unconditionally removes the output, so rather wrap it into

#ifndef NDEBUG
#endif

?

mollekopf requested changes to this revision.Jan 20 2016, 12:16 PM
mollekopf added a reviewer: mollekopf.
This revision now requires changes to proceed.Jan 20 2016, 12:16 PM
vanmeeuwen requested a review of this revision.Feb 4 2016, 12:36 AM
vanmeeuwen edited edge metadata.
In D73#1255, @mollekopf wrote:

This unconditionally removes the output, so rather wrap it into

#ifndef NDEBUG
#endif

?

That's what I had at https://git.kolab.org/D73?vs=on&id=135&whitespace=ignore-most#toc but that did not seem to do the job.

vanmeeuwen abandoned this revision.Jul 1 2016, 1:06 PM