[Coco] Coco Digest, Vol 49, Issue 38

Stephen Castello zootzoot at cfl.rr.com
Thu Aug 16 08:53:52 EDT 2007


On Thu, 16 Aug 2007 06:52:00 -0400, "Paul Fitch"
<pfitchjr at bellsouth.net> had a flock of green cheek conures squawk
out:

>I copied the 'new' curses.c and curses.h from the link above to my /dd/defs
>and entered the following:
>
>cc2 curses.c >> errorlog
>
>Some of the errors I understand, like me missing the termcap.h file.  But
>look at this other stuff its spitting out.
>
>ERRORLOG FOLLOWS:
>
>*** "/DD/DEFS/termcap.h" <Line #4>   #include error - bad file name ***
>#include <termcap.h>
>         ^
> 
>*** "curses.h" <Line #9>   Warning - Improper redefinition ***
># define FALSE ( 0 ) 
>        ^

One fix is to surround that define with a #ifndef #endif to keep from
redefining it.

The rest of the errors may be caused by the that one, since the
compiler isn't all that smart.

Stephen
-- 



More information about the Coco mailing list