From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31552 invoked from network); 30 Apr 1999 18:05:37 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Apr 1999 18:05:37 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA12660 for ; Fri, 30 Apr 1999 13:35:19 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Fri, 30 Apr 1999 12:39:07 -0500 Received: by paralleldata.com from paralleldata.com (207.158.98.180::mail daemon; unverified,SLMail V2.5); Fri, 30 Apr 1999 12:39:04 -0500 Sender: "Wsb" Message-ID: <3729DBDA.127D4747@paralleldata.com> Date: Fri, 30 Apr 1999 11:35:38 -0500 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.2.3 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Fix for asm/system.h References: <199904301109.MAA16730@mvagusta> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Phil Carmody wrote: > > >>>>> "Nils" == Nils Faerber writes: > > My view is highly dependent on what system.h actually contains (viz. the > type of ptr), I don't have access to the file at the moment, however, I > would say: > Never use an explicit cast solely to silence a compiler warning. > The action being preformed by the code remains the same, if it's dangerous > let is be flagged as such. > (And why is code with switch statements in a header file?) > Because it has several inlined routines which are architecture dependent (asm). The cast looks reasonable to me. Wes