www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/08/10:13:11

Date: Sat, 8 Oct 1994 14:23:14 +0100
From: Helmut Muelner <hmuelner AT iicm DOT tu-graz DOT ac DOT at>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: djgpp and the 386SX

>>>>> "FR" == Frederick W Reimer <fwreimer AT crl DOT com> writes:


FR> As far as Unix programs and such are concerned, what's wrong with 
FR> assuming that the size of an int is the same as the size of a pointer?  
FR> This is almost a given in the C programming world, or at least is should 
FR> be.  


 NO NO NO NO NO

You should try to port some software to DEC-ALPHA workstations, where
integers are 32 bits and pointers are 64 bits.  Lots of programmers
assume that you need not declare strlen, because the compiler assumes
the unspecified argument to be an int which has (on most systems) the
same size as a pointer.

--
"I make no mistakes,              Helmut Muelner     
     only experiences."                  M\"ulner  
                                         M&uuml;lner
                                         M\x0FClner
                          hmuelner AT iicm DOT tu-graz DOT ac DOT at
By the way: Don't forget ED-MEDIA'95:
The World Conference on Educational Multimedia and Hypermedia, June 18-21,1995,
Graz, Austria (Home of Hyper-G, INFO: ftp://iicm.tu-graz.ac.at/pub/Hyper-G)
DEADLINE for submissions: Oct. 21, 1994. (INFO: aace AT virginia DOT edu)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019