P
Pietro Cerutti
Pietro said:jacob said:In 64 bit linux I have hacked the lexer!Ian said:jacob navia wrote:
Ian Collins wrote:
Richard Heathfield wrote:
Ian Collins said:
<snip>
If you treat [long and int] as the same internally, you'll be
buggered
when porting to any LP64 64 bit system. That is any 64 bit
Linux/Unix
platform.
Ian, considering the attitude of the purported author of lcc-win32
towards, and his knowledge of, portability, do you seriously think
there is even the remotest chance of a trouble-free port to any
significantly disparate system?
I thought he has a Linux port?
lcc-win has been ported to linux (32 and 64 bits) to AIX (64 bits),
and to windows 64 bits.
So you have already differentiated between int and long?
When I see a "long" keyword, I return "long long". Internally
"long" is still never used. This works quite OK.
The problem with "long" is that it is always just a synonym for either
int or long long. There is no point in maintaining a basic type that
isn't really one.
Where does this statement come from?
What prevents long to be a type by itself?
What prevents long to be^H^H^H^H^H from being a type by itself?