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
Unknown Object (File)
Mon, May 6, 10:06 AM
Unknown Object (File)
Fri, May 3, 6:17 AM
Unknown Object (File)
Tue, Apr 30, 11:44 AM
Unknown Object (File)
Tue, Apr 30, 11:44 AM
Unknown Object (File)
Tue, Apr 30, 11:44 AM
Unknown Object (File)
Tue, Apr 30, 11:44 AM
Unknown Object (File)
Tue, Apr 30, 11:44 AM
Unknown Object (File)
Sun, Apr 28, 8:36 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 2417
Build 2284: 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.