[
https://issues.apache.org/jira/browse/TS-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830866#comment-13830866
]
Leif Hedstrom commented on TS-1786:
-----------------------------------
Would it be possible to check if it's a) building in a git repo and b) the
branch is named "master" ? That has the nice benefit of turning it off during
e.g. a git bisect too.
> 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)