www.delorie.com/djgpp/bugs/show.cgi | search |
When I write c++ code like this, cout << sizeof(int) << sizeof(long); it reports that both integers and long int's take up 4 bytes. I am new to DJGPP, and I am wondering if it is suppose to be like this. It would be pointless if it were, since it would be the exact same type and you couldn't use a 16-bit int to automatically wrap it on overflow modulo 0xFF. MDK187 NOTE: I DO NOT have an ALPHA PROCESSOR, I AM USING AN X86 BASED INTEL.
1) Posting the same problem report twice is kind of pointless. 2) This is no more a bug than #296 is (which see) I'll close this, as well.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |