Afficher un message
Vieux 30/06/2008, 21h42   #6
Roland Pibinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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)?

  Réponse avec citation
 
Page generated in 0,05244 seconds with 9 queries