[
https://issues.apache.org/jira/browse/TS-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662073#comment-13662073
]
James Peach commented on TS-1786:
---------------------------------
Here's another idea. Leave -Werror on in the source tree, but always turn it
off in the release tarballs. This protects the majority of casual users from
spurious build failures.
> 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
> Fix For: 3.3.4
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira