This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Size of C/C++ data type from GNU GCC/g++ compiled ELF 64-bit LSB executable, AMD x86-64 vs. ELF 32-bit LSB executable, Intel 80386


Brian Dessent wrote:
It's very broken to assume that sizeof(long) is 4, because that is not
true on almost any 64 bit platform, the major exception begin Windows
x64.

Incidentally, does the Windows-x64 port* of gcc perpetuate this idiocy?


(*...which may not exist, if so s/does/will/)

--
Matthew
"Five is right out!"
  -- Cleric (from Monty Python's Quest for the Holy Grail)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]