[ https://issues.apache.org/jira/browse/TS-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692452#comment-13692452 ]
ASF subversion and git services commented on TS-1786: ----------------------------------------------------- Commit 125f9d32737ef919c323ad14d5c8b73b9dbba39d in branch refs/heads/master from [~jpe...@apache.org] [ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=125f9d3 ] TS-1786: only enable -Werror for development builds Enable -Werror by default for development builds, but disable it by default for release builds. This saves users from build breakage due to platform differences and compiler changes but preserves developer discipline. > 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 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