Mail Archives: djgpp/1996/04/29/23:32:21
Reply to message 1707513 from ELIZ AT IS DOT ELTA. on 04/29/96 3:32AM
>No, they won't. It is only if you invoke gcc with -Wall, it will warn
>you about these, but `printf' will work flawlessly, because in DJGPP (as
>in most 32-bit machines), long and int *are* the same.
That's what I meant. The compiler moans and groans about ints vs.
longs, but it still works (in DJGPP).
>Of course, if you want to write portable software, you *will* invoke gcc
>with -Wall and you *will* pay attention to those warnings.
If there's one thing I know to pay attention to, it's those innocent-looking
warnings. That's experience talking there. :) Did you ever notice how
many programs claim to have compiled without _errors_ on the latest
version of so and so, but conveniently fail to mention warnings...
John
- Raw text -