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

newbie has troubles compiling rtems 980219



The problem is that cklength.c, eolstrip.c and unhex.c all have

extern int errno;

at various places throughout.

This isn't really correct (according to the ANSI C standard).

All the `extern int errno;' lines should be removed and
#include <errno.h>
should be added to the list of header files.

I'm assuming that WinNT provides an ANSI standard C environment.....

---
Eric Norum                                 eric at skatter.usask.ca
Saskatchewan Accelerator Laboratory        Phone: (306) 966-6308
University of Saskatchewan                 FAX:   (306) 966-6058
Saskatoon, Canada.