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
F11589534: D73.vson.id135.whitespaceignore-most.diff
Thu, Mar 28, 11:21 PM
F11586102: D73.id138.diff
Thu, Mar 28, 1:56 PM
Unknown Object (File)
Wed, Mar 20, 9:44 PM
Unknown Object (File)
Fri, Mar 8, 9:37 PM
Unknown Object (File)
Fri, Mar 8, 8:32 PM
Unknown Object (File)
Fri, Mar 8, 6:08 PM
Unknown Object (File)
Fri, Mar 8, 1:56 PM
Unknown Object (File)
Wed, Mar 6, 8:34 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.