delorie.com/archives/browse.cgi | search |
From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
Message-Id: | <200106101146.NAA22975@mother.ludd.luth.se> |
Subject: | Re: Compiler options for djdev build |
To: | djgpp-workers AT delorie DOT com |
Date: | Sun, 10 Jun 2001 13:46:43 +0200 (MEST) |
In-Reply-To: | <CAEGKOHJKAAFPKOCLHDIGEAKCEAA.tim.van.holder@pandora.be> from "Tim Van Holder" at Jun 10, 2001 10:42:20 AM |
X-Mailer: | ELM [version 2.5 PL2] |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
According to Tim Van Holder: > >From what has been said, it would only break if chars, shorts or floats > were passed to a function without a prototype. But using a function > without a prototype is also flagged as a warning, isn't it? So this > shouldnt be a problem - we're warned if there's no prototype, and if > there is one, the compiler knows how to handle the arguments. It also breaks when the function is defined before use, where the definition serves as a prototype. todigit() is an example. This is wrong. Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |