You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/03/28 19:13:19 UTC

[jira] [Created] (TS-1786) only enable -Werror for debug builds

James Peach created TS-1786:
-------------------------------

             Summary: 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


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