[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Uisp-dev] 20021115cvs snapshot
From: |
E. Weddington |
Subject: |
Re: [Uisp-dev] 20021115cvs snapshot |
Date: |
Thu, 21 Nov 2002 16:31:45 -0700 |
On 21 Nov 2002 at 15:21, Theodore A. Roth wrote:
>
>
> On Thu, 21 Nov 2002, E. Weddington wrote:
>
> :) Speaking of configure check. uisp fails on mingw because it can't
> :) find files such as termios.h. I think mingw sees the cygwin ifdef
> in :) the source and tries to pull in header files that don't exist in
> :) mingw. I'm no expert in either cygwin or mingw. I'm guessing that
> :) there would have to be some serious thought about mingw
> configuration :) and how that would work. Y'know, at some point in the
> future.... :-)
>
> Thanks. Looking for termios.h is not too hard. The hard part is
> figuring out what to do with that information, i.e. where to put the
> #ifdef HAS_TERMIOS_H stuff.
>
> Ted
For completeness, this is what mingw/msys fails with:
In file included from ../../src/AvrAtmel.h:32,
from ../../src/AvrAtmel.C:41:
../../src/Serial.h:41:21: termios.h: No such file or directory
In file included from ../../src/AvrAtmel.h:32,
from ../../src/AvrAtmel.C:41:
../../src/Serial.h:49: field `saved_modes' has incomplete type
../../src/Serial.h:53: type specifier omitted for parameter `timeval'
../../src/Serial.h:53: parse error before `*' token
../../src/AvrAtmel.C: In constructor `TAvrAtmel::TAvrAtmel()':
../../src/AvrAtmel.C:567: `timeval' undeclared (first use this
function)
../../src/AvrAtmel.C:567: (Each undeclared identifier is reported
only once for
each function it appears in.)
../../src/AvrAtmel.C:567: parse error before `=' token
cc1plus.exe: warnings being treated as errors
../../src/AvrAtmel.C:528: warning: unused variable `bool got_device'
../../src/AvrAtmel.C:566: warning: unused variable `TByte buf_code'
../../src/AvrAtmel.C: At global scope:
../../src/AvrAtmel.C:579: parse error before `for'
../../src/AvrAtmel.C:579: syntax error before `.' token
../../src/AvrAtmel.C:579: syntax error before `++' token
../../src/AvrAtmel.C:593: ISO C++ forbids declaration of `Info' with
no type
../../src/AvrAtmel.C:593: `int Info' redeclared as different kind of
symbol
../../src/Global.h:136: previous declaration of `bool Info(unsigned
int, const
char*, ...)'
../../src/AvrAtmel.C:593: initializer list being treated as compound
expression
../../src/AvrAtmel.C:593: invalid conversion from `const char*' to
`int'
../../src/AvrAtmel.C:595: parse error before `if'
../../src/AvrAtmel.C:605: ISO C++ forbids declaration of `EnableAvr'
with no
type
../../src/AvrAtmel.C:606: parse error before `}' token
make[1]: *** [AvrAtmel.o] Error 1
make: *** [all-recursive] Error 1
And I'm pretty sure I've got the latest mingw/msys environment as I
pulled it off within the last couple of weeks.
Eric