Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: Compiler Warnings
Date: Sat, 18 Jan 1997 15:31:40 -0600 (CST)	[thread overview]
Message-ID: <fc9d22d856952998088d36144ddee2ac.axp-list@archive.invalid> (raw)
In-Reply-To: <199701181907.OAA07989@sable.cc.vt.edu>

> one of the code that got warning message is:
>     int offset = (int)cmd->info;
> And I don't see any problem with that line unless there is something I
> don't know.

IMHO, that is not playing fair either.  And the amazing bit
is that ISO C gives us a wonderful tool to avoid hacks like
that and is guaranteed to work on all machines: a union.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  parent reply	other threads:[~1997-01-18 21:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199701181907.OAA07989@sable.cc.vt.edu>
1997-01-18 20:47 ` Compiler Warnings Michal Jaegermann
1997-01-18 21:31 ` Richard Henderson [this message]
2010-01-18 19:07 Roger
     [not found] <199701180109.JAA03936@tapa.admu.edu.ph>
1997-01-18 16:22 ` Richard Henderson
1997-01-20 11:41 ` Jim Nance
  -- strict thread matches above, loose matches on Subject: below --
1997-01-18  3:04 Roger
1997-01-18 17:27 ` Michal Jaegermann
1997-01-18  1:09 Pablo Manalastas
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