[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb plugin smartdisperse fails on load



On Thu, Feb 24, 2011 at 09:23:44AM -0700, Russell Dill wrote:
> On Thu, Feb 24, 2011 at 8:50 AM, Peter Clifton <pcjc2@xxxxxxxxx> wrote:
> > On Thu, 2011-02-24 at 08:38 -0700, John Doty wrote:
> >> On Feb 24, 2011, at 8:22 AM, Peter Clifton wrote:
> >> > Means C didn't find the function, and it assumes it returns integer in
> >> > that case. Dumb convention IMO.
> > [chop] I believe the behaviour in question dates back to the
> > days where prototypes were very different, and C sometimes had to
> > assume.
> 
> ...if only there was some sort of flag or option that could be passed
> to the compiler to convince it otherwise...

</me puts on straight-man hat>
You mean -Werror=implicit-function-declaration?
(or just -Wall, and scrutinize warnings)

   - Larry


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user