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

Chris Richardson edited comment on QPID-7630 at 3/17/17 11:35 PM:
------------------------------------------------------------------

As a QA -nazi- enthusiast I would be all in favour of a solution where warnings 
are always shown but the -Werror switch can be turned off. My proposition to 
have both was simply to avoid removing existing functionality.

In the case of Gentoo (which is my focus), the nature of the distro ^1^ makes 
displaying warnings a key part of diagnosing everyday installation problems.

^1^ packes installed by building from source, bleeding-edge versions of all 
packages, often highly customised and optimised build environment


was (Author: crichardson):
As a QA -nazi- enthusiast I would be all in favour of a solution where warnings 
are always shown but the -Werror switch can be turned off. My proposition to 
have both was simply to avoid removing existing functionality.

In the case of Gentoo (which is my focus), the nature of the distro ^1^ makes 
displaying warnings a key part of diagnosing everyday installation problems.

^1^ packes installed by building from source, bleeding-edge versions of all 
packages, highly customisable and optimised build environment

> Add a CMake switch to allow -Werror to be switched off
> ------------------------------------------------------
>
>                 Key: QPID-7630
>                 URL: https://issues.apache.org/jira/browse/QPID-7630
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client
>    Affects Versions: qpid-cpp-1.36.0, qpid-cpp-1.37.0
>         Environment: GNU compilers
>            Reporter: Chris Richardson
>            Assignee: Justin Ross
>              Labels: patch
>             Fix For: qpid-cpp-1.38.0
>
>         Attachments: 1.36.0-disable-warnings-as-errors-switch.patch
>
>
> It could be useful in some situations (eg: when packaging/installing) to be 
> able to disable warnings as errors in the build. This is the recommendation 
> for instance of the Gentoo packaging guide 
> (https://devmanual.gentoo.org/ebuild-writing/common-mistakes, section 
> "-Werror compiler flag not removed").
> See attached patch.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to