From: j DOT aldrich6 AT genie DOT com Message-Id: <199604300021.AA217313689@relay1.geis.com> Date: Tue, 30 Apr 96 00:04:00 UTC 0000 To: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: sizeof(int) == 4?! 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