You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/02/15 22:58:12 UTC

[trafficserver] branch master updated: Ignores the ICC warning on expression constants to asserts

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 7ef6d29  Ignores the ICC warning on expression constants to asserts
7ef6d29 is described below

commit 7ef6d29bbb7226f9230f6e11a64df2df3e790d0b
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Thu Feb 15 15:32:41 2018 -0700

    Ignores the ICC warning on expression constants to asserts
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5da6e0c..b434d77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -830,7 +830,8 @@ case $host_os_def in
       # -Wall is overzealous for us, so need to turn this off for now:
       #
       #  #873 is "has no corresponding operator delete"
-      common_opt="-pipe -Wall -wd873"
+      #  #279 is "controlling expression is constant" (which is e.g. TSReleaseAssert(!"Unexpected Event");
+      common_opt="-pipe -Wall -wd873 -wd279"
       debug_opt="-g $common_opt"
       release_opt="-g $common_opt $optimization_flags -axsse4.2 -fno-strict-aliasing"
       cxx_opt="-Wno-invalid-offsetof"

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.