[ 
https://issues.apache.org/jira/browse/COUCHDB-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219921#comment-14219921
 ] 

ASF subversion and git services commented on COUCHDB-2463:
----------------------------------------------------------

Commit b344f9554e094bd6c33cf3950fb8f6384586e996 in couchdb-snappy's branch 
refs/heads/master from [~hdiedrich]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-snappy.git;h=b344f95 ]

Exclude ComputeTable from building

Set NDEBUG as CXXFLAGS to skip the compilation of this debug function.

The NDEBUG logic is broken because REGISTER_MODULE_INITIALIZER(snappy,
ComputeTable()); is set to always result to nothing, independently of
NDEBUG.

If debug tests should instead be included in the build, both NDEBUG
must not be set (as before) but also, REGISTER_MODULE_INITIALIZER
repaired.

COUCHDB-2463

This closes #1

Signed-off-by: Alexander Shorin <[email protected]>


> Compile Snappy without debug source
> -----------------------------------
>
>                 Key: COUCHDB-2463
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2463
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Henning Diedrich
>
> Compiling Snappy would through a warning that ComputeTable was not used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to