|
[Rivet] [rivet] root!=ansi compatibleJames Monk jmonk at fnal.govTue Oct 2 18:10:34 BST 2007
On 2 Oct 2007, at 17:36, Andy Buckley wrote: > I've seen some of these warnings, but this sounds much more > serious. I thought > that the use of the -permissive flag (i.e. "Mr G++, I'm trying to > compile some > really shoddy code, so please be forgiving") was enough to let ROOT > compile, > but by the looks of things this doesn't extend to the 64 bit case. Yes, this page from IBM seems to confirm what I suspected: http://www.ibm.com/developerworks/library/l-port64.html (look at table 1) Because long only promises to be #at least# 32 bits long it is perfectly fine and makes sense for it to be 64 bits on a 64 bit system. long long promises to be at least 64 bits long, so can be the same as a long on a 64 bit system. I thought the whole point of all those foo_t types in root was that they have the same length regardless of the OS (like Java), but it would seem not.
More information about the Rivet mailing list |