trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [trafficserver] branch master updated: TS-4988: Disable sign comparison warnings for TsConfigSyntax.c
Date Wed, 19 Oct 2016 17:11:53 GMT
This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  8af6ed6   TS-4988: Disable sign comparison warnings for TsConfigSyntax.c
8af6ed6 is described below

commit 8af6ed6cf3ecf9df1863bc2f994c6d68a051b8bf
Author: Alan M. Carroll <solidwallofcode@yahoo-inc.com>
AuthorDate: Wed Oct 19 11:00:36 2016 -0500

    TS-4988: Disable sign comparison warnings for TsConfigSyntax.c
---
 lib/tsconfig/TsConfigSyntax.l | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lib/tsconfig/TsConfigSyntax.l b/lib/tsconfig/TsConfigSyntax.l
index c8eba34..dc11a2f 100644
--- a/lib/tsconfig/TsConfigSyntax.l
+++ b/lib/tsconfig/TsConfigSyntax.l
@@ -21,8 +21,13 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
- */
- 
+*/
+
+# if defined(__GNUC__)
+# pragma GCC diagnostic ignored "-Wsign-compare"
+# endif
+
+
 # if ! (defined(__clang_analyzer__) || defined(__COVERITY__))
 
 # include "TsConfigParseEvents.h"

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message