Page MenuHomePhorge

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.
Tags
None
Referenced Files
F12821466: D73.id139.diff
Thu, Jun 13, 11:41 AM
F12812304: D73.id.diff
Thu, Jun 13, 7:27 AM
Unknown Object (File)
Wed, Jun 12, 2:16 PM
Unknown Object (File)
Wed, Jun 12, 4:42 AM
Unknown Object (File)
Mon, Jun 10, 11:27 AM
Unknown Object (File)
Mon, Jun 10, 6:07 AM
Unknown Object (File)
Wed, Jun 5, 3:27 PM
Unknown Object (File)
Mon, May 27, 2:46 AM
Subscribers

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 Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 2412
Build 2279: arc lint + arc unit

Event Timeline

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.
  • -DNDEBUG doesn't make it at all :/
  • -DNDEBUG doesn't make it at all :/

This unconditionally removes the output, so rather wrap it into

#ifndef NDEBUG
#endif

?

mollekopf added a reviewer: mollekopf.
This revision now requires changes to proceed.Jan 20 2016, 12:16 PM
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.