freetype-devel
[Top][All Lists]
Advanced

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

[Devel] re: compiling on the mac


From: keith
Subject: [Devel] re: compiling on the mac
Date: Mon, 29 Apr 2002 14:53:24 -0300

here is the compiler dump from CW7.

Error   : illegal function definition
ftmac.c line 447          FT_Stream_Close  close,

Error   : illegal name overloading
ftmac.c line 448          FT_Stream* astream )

Error   : declaration syntax error
ftmac.c line 449     {

Error   : declaration syntax error
ftmac.c line 455         if ( !library )

Error   : declaration syntax error
ftmac.c line 456           return FT_Err_Invalid_Library_Handle;

Error   : declaration syntax error
ftmac.c line 458         if ( !base )

Error   : declaration syntax error
ftmac.c line 459           return FT_Err_Invalid_Argument;

Error   : declaration syntax error
ftmac.c line 461         *astream = 0;

Error   : declaration syntax error
ftmac.c line 462         memory = library->memory;

Error   : declaration syntax error
ftmac.c line 463         if ( FT_NEW( stream ) )

Error   : declaration syntax error
ftmac.c line 464           goto Exit;

Error   : identifier 'FT_Stream_OpenMemory(struct FT_StreamRec_ *, const
unsigned
char *, unsigned long)' redeclared
was declared as: 'void (struct FT_StreamRec_ *, const unsigned char *,
unsigned long)'
now declared as: 'int (...)'
ftmac.c line 466         FT_Stream_OpenMemory( library,base,size, stream );

Error   : ';' expected
ftmac.c line 468         stream->close = close;

Error   : illegal function definition
ftmac.c line 470         *astream = stream;

Error   : illegal function definition
ftmac.c line 472       Exit:

Error   : identifier expected
ftmac.c line 473         return error;

Error   : identifier expected
ftmac.c line 474     }

Error   : illegal function definition
ftmac.c line 485     {

Error   : illegal function definition
ftmac.c line 486       FT_Open_Args  args;

Error   : illegal function definition
ftmac.c line 487       FT_Error      error;

Error   : object 'stream' redefined
ftmac.c line 488       FT_Stream     stream;

Error   : illegal function definition
ftmac.c line 489       FT_Memory     memory = library->memory;

Error   : illegal function definition
ftmac.c line 492       error = new_memory_stream( library,base, size,
memory_stream_close, &stream );

Error   : identifier expected
ftmac.c line 493       if ( error )

Error   : illegal function definition
ftmac.c line 494       {

Error   : declaration syntax error
ftmac.c line 495   FT_Free( memory, (void**)&(base) )

Error   : identifier expected
ftmac.c line 496         return error;

Error   : identifier expected
ftmac.c line 497       }

Error   : identifier expected
ftmac.c line 499       args.flags = ft_open_stream;

Error   : illegal function definition
ftmac.c line 500       args.stream = stream;

Error   : identifier expected
ftmac.c line 501       if ( driver_name )

Error   : illegal function definition
ftmac.c line 502       {

Error   : illegal function definition
ftmac.c line 503         args.flags = args.flags | ft_open_driver;

Error   : illegal function definition
ftmac.c line 504         args.driver = FT_Get_Module( library, driver_name
);

Error   : identifier expected
ftmac.c line 505       }

Error   : identifier expected
ftmac.c line 507       error = FT_Open_Face( library, &args, face_index,
aface );

Error   : identifier expected
ftmac.c line 508       if ( error == FT_Err_Ok )

Error   : ';' expected
ftmac.c line 509         (*aface)->face_flags &=
~FT_FACE_FLAG_EXTERNAL_STREAM;

Error   : identifier expected
ftmac.c line 510       else

Error   : illegal implicit conversion from 'int' to
'struct FT_StreamRec_ *'
ftmac.c line 512         FT_Stream_Close( stream );

Error   : declaration syntax error
ftmac.c line 515       return error;

Error   : declaration syntax error
ftmac.c line 516     }

Error   : function has no prototype
ftmac.c line 553       return open_face_from_buffer( library,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]