ons 2017-04-12 klockan 10:57 -0400 skrev Noel Chiappa via cctalk:
From: Alfred
M. Szmidt
No even the following program:
int main (void) { return 0; }
is guaranteed to work
I'm missing something: why not?
Noel
If the compiler doesn't have ANSI C prototypes.
What is the meaning of '0' (and the return call itself) on different
platforms ?
C is special because so much of a program's behaviour is 'undefined' and
so everything which goes is ok and so inherently non-portable.