From: Scott Locklin <locklin@lonsdale.lbl.gov>
Subject: Common Porting Problem
Date: Thu, 28 Nov 1996 14:38:33 -0600 (CST) [thread overview]
Message-ID: <4185ffc4048f7b17859cd092f723668d.axp-list@archive.invalid> (raw)
I know I'm going to be raked over the coals for asking this, as it's
probably been rehashed any number of times; here it goes anyway.
Lots of people write code which assumes the same number of bytes in
pointers & integers; when I try to compile such code it complains
something like
"warning: cast to pointer from integer of different size"
And when I try to run , it dumps core, like it's supposed to.
My question; is there a compiler switch I can use to make the pointers 4
bytes or the integers 8, so this stuff will work without major surgery?
Or am I doomed to wading through dozens of
"warning: cast to pointer from integer of different size"
messages?
-Scott
--
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
next reply other threads:[~1996-11-28 20:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-28 20:38 Scott Locklin [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-11-28 22:25 Common Porting Problem Earl Curley
[not found] <locklin@lonsdale.lbl.gov>
1996-11-29 4:08 ` Bryan W. Headley
[not found] <9611282208.ZM1182@davros.bwh.com>
1996-11-29 5:34 ` Michal Jaegermann
1996-11-29 9:33 David A Rusling
[not found] <Pine.LNX.3.91.961128142553.24232A-100000@lonsdale.lbl.gov>
1996-11-28 23:33 ` Michal Jaegermann
1996-11-30 0:24 ` Jim Nance
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