From owner-freebsd-questions Wed Jun 26 08:20:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA14472 for questions-outgoing; Wed, 26 Jun 1996 08:20:47 -0700 (PDT) Received: from gatekeeper.fsl.noaa.gov (gatekeeper.fsl.noaa.gov [137.75.131.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA14467 for ; Wed, 26 Jun 1996 08:20:44 -0700 (PDT) Received: from emu.fsl.noaa.gov (kelly@emu.fsl.noaa.gov [137.75.60.32]) by gatekeeper.fsl.noaa.gov (8.7.5/8.7.3) with ESMTP id PAA17259; Wed, 26 Jun 1996 15:20:42 GMT Message-Id: <199606261520.PAA17259@gatekeeper.fsl.noaa.gov> Received: by emu.fsl.noaa.gov (1.40.112.4/16.2) id AA018262470; Wed, 26 Jun 1996 09:21:10 -0600 Date: Wed, 26 Jun 1996 09:21:10 -0600 From: Sean Kelly To: darnison@albury.net.au Cc: questions@freebsd.org In-Reply-To: <199606261114.VAA15267@orac.albury.net.au> (darnison@albury.net.au) Subject: Re: Rebuilding Kernel make warnings Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> "Don" == Don Arnison writes: Don> Greetings from Oz! Question: why is Australia often called Oz? Don> You guys do a great job! Not me ... but everyone else does! Don> ../../i386/isa/seagate.c: In function `sea_data_output': Don> ../../i386/isa/seagate.c: 1124: warning: assignment discards Don> `volatile' from pointer target type Don> Any ideas??? It's just a warning message (as it says). The compiler is warning you that the C code it's compiling is valid syntactically, but the semantics may not be what you expect. At run time, there may be some unintended behavior. If it's working for you, just relax. You can throttle the amount of warning messages produced by the GNU compiler---rather like a sliding control on anal retentiveness. If you increase the amount of warning checking to the maximum, I'd bet you get hundreds of warning messages when compiling a kernel. -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/