avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] [RFA] #if cleanups


From: Theodore A. Roth
Subject: Re: [avrdude-dev] [RFA] #if cleanups
Date: Mon, 12 Jul 2004 14:30:25 -0700 (PDT)

On Mon, 12 Jul 2004, E. Weddington wrote:

> On 12 Jul 2004 at 13:41, Theodore A. Roth wrote:
>
> > It doesn't look like stdio.h is getting pulled in. These are the only
> > includes for that file:
> >
> >   #include <windows.h>
> >   #include <ctype.h>   /* for isprint */
> >   #include "serial.h"
> >
>
> Ok, that did the trick. Personally I would prefer alphabetical order for the
> includes, angle brackets first, such as:
>
> #include <ctype.h>   /* for isprint */
> #include <stdio.h>
> #include <windows.h>
> #include "serial.h"
>
> And that is in fact what I built with.
>
> Tested briefly with a stk500 and it seems to work ok for me, though it wasn't
> an exstensive test.

How did that file ever compile for testing without that #include?

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]