[
https://issues.apache.org/jira/browse/TS-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831027#comment-13831027
]
Leif Hedstrom commented on TS-2390:
-----------------------------------
I cloned this one, such that we can agree on a way to enable -Werror without a
-dev in the package name. We no longer produce -dev packages, and 'master' is
always stable. The concept of -dev is simply gone, and we should encourage
everyone to not consider "master" as a -dev state.
Couple of ideas would be
1) Only do -Werror on --enable-debug builds (as suggested initially). This
doesn't give perfect coverage.
2) Only do -Werror when building out of a "git" repository.
3) Make it an explicit configure option (such that we can enable it on all
build-bots for example).
Thoughts?
> CLONE - only enable -Werror for debug builds
> --------------------------------------------
>
> Key: TS-2390
> URL: https://issues.apache.org/jira/browse/TS-2390
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: James Peach
> Assignee: 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 was sent by Atlassian JIRA
(v6.1#6144)