Re: "ISO C++ forbids declaration of uchar with no type"
On Mon, 30 Jun 2008 12:14:15 -0700 (PDT), aneuryzma wrote:
>The thing is that "typedef unsigned char uchar;" *IS* in a header file
>in which i got the error. I don't understand why the compiler
>complains that it is not defined.
>
>This is the header:
>
>#ifndef _CXCORE_TYPES_H_
>#define _CXCORE_TYPES_H_
>
>
>#ifndef HAVE_IPL <-- !!!
>typedef unsigned char uchar;
>typedef unsigned short ushort;
>#endif
Do you define HAVE_IPL (e.g. -DHAVE_IPL in the makefile)?
|