From owner-cvs-src@FreeBSD.ORG Sat Oct 25 20:34:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DBE116A4B3; Sat, 25 Oct 2003 20:34:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C18E943FAF; Sat, 25 Oct 2003 20:34:13 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9Q3YDXJ007088; Sat, 25 Oct 2003 20:34:13 -0700 (PDT) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9Q3YDpB007087; Sat, 25 Oct 2003 20:34:13 -0700 (PDT) (envelope-from peter) Message-Id: <200310260334.h9Q3YDpB007087@repoman.freebsd.org> From: Peter Wemm Date: Sat, 25 Oct 2003 20:34:13 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/xlint/xlint xlint.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 03:34:14 -0000 peter 2003/10/25 20:34:13 PDT FreeBSD src repository Modified files: usr.bin/xlint/xlint xlint.c Log: Move the -Wtraditional warning from the global cpp flags to when the -p (portability warnings) switch is used. Add -Wno-system-headers after it so that we dont get 500 screenfulls of warnings about #elif in /usr/include. I'm not entirely happy with this. Maybe cdefs.h shouldn't use #elif and instead nest #else clauses? Revision Changes Path 1.26 +1 -2 src/usr.bin/xlint/xlint/xlint.c