Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Fix for asm/system.h
Date: Fri, 30 Apr 1999 11:35:38 -0500	[thread overview]
Message-ID: <3729DBDA.127D4747@paralleldata.com> (raw)
In-Reply-To: 199904301109.MAA16730@mvagusta

Phil Carmody wrote:
> 
> >>>>> "Nils" == Nils Faerber <Nils.Faerber@unix-ag.org> 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


  reply	other threads:[~1999-04-30 18:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-29 21:22 Fix for asm/system.h Nils Faerber
1999-04-30 11:09 ` Phil Carmody
1999-04-30 16:35   ` Wes Bauske [this message]
1999-05-02 20:16 ` Richard Henderson
1999-05-03  2:03   ` Nils Faerber
1999-05-03  6:55     ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox