From owner-freebsd-hackers Fri Jul 27 4:40:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 44A5337B406 for ; Fri, 27 Jul 2001 04:40:28 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.31 #1) id 15Q5zh-000NEX-00 for hackers@FreeBSD.org; Fri, 27 Jul 2001 13:41:25 +0200 From: Sheldon Hearn To: hackers@FreeBSD.org Subject: -Wconversion and mode_t Date: Fri, 27 Jul 2001 13:41:25 +0200 Message-ID: <89312.996234085@axl.seasidesoftware.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, How on earth is one supposed to shut up the -Wconversion warnings generated for all the functions that take mode_t arguments? I've tried every sane typecast I can think of to prove to the compiler that I know what I'm doing, but it won't shut up. /usr/src/usr.sbin/config is a good example. Its Makefile sets BDECFLAGS, which includes -Wconversion. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message