undefined reference to `errno' g++3.3

Eljay Love-Jensen eljay@adobe.com
Wed Jul 30 19:18:00 GMT 2003


Hi Gabriel,

Do not do this:
extern int errno;

Do this instead, for C:
#include <errno.h>

Or this instead, for C++:
#include <cerrno>

HTH,
--Eljay




More information about the Gcc-help mailing list