delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/10/17:17:12

From: diegodc AT arrakis DOT es (diego)
Newsgroups: comp.os.msdos.djgpp
Subject: type size is NO longer ok
Date: Wed, 10 Dec 1997 20:34:32 GMT
NNTP-Posting-Host: 195.5.77.218
Message-ID: <348f01e4.0@news.arrakis.es>
Lines: 23
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

	I turn on the pc and run rhide again, but to my surprise the proyect
did not work. After a while I realized that type size had changed!!!!!

	Now after a sizeof(...) here is what I get:
char -> 1byte
int -> 4bytes
long int -> 4bytes
....

	As you can see char is now 1byte long, and long int is just like an
ordinary int!!! (They also have ranges of 256, etc. of the size
reported).

	I didn't download any program, so I suposse it's some option arround
but don't know which (I didn't find anything related in the faq and
docs I have).

	If you know why does it happens, please tell me.	:-)

==> Diego Dominguez <==	diegodc AT arrakis DOT es

- Raw text -


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