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

ASF subversion and git services commented on TS-1786:
-----------------------------------------------------

Commit a037f786111cdfc4604879e37d9bc87f1e3db82a in branch refs/heads/master 
from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=a037f78 ]

Re-enable -Werror for developer builds

-Werror is supposed to be enabled by default during the development
cycle (see TS-1786). --enable--werror defaults to enabled if the
version ends in "-dev", but the "-dev" suffix was lost during the
last release cycle.


> only enable -Werror for debug builds
> ------------------------------------
>
>                 Key: TS-1786
>                 URL: https://issues.apache.org/jira/browse/TS-1786
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 3.3.5
>
>
> It's very difficult to always build with -Werror on every platform we 
> support. -Werror is only valuable to developers, not so much for users. We 
> should consider only enabling -Werror if the build was configured with 
> --enable-debug. This probably involves adding autoconf macros to test whether 
> the compiler actually supports -Werror.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to