At 4:48 Uhr +0000 22.03.2002, p kent wrote:

[snip]

>Footnote:
>I had previously been simply giving MPW explicit xsubpp, MrC and PPCLink
>commands. I got the xsubpp step done OK, but when MrC came along I got
>these messages, which _really_ confused me.
>
>MrC C Compiler 4.1.0f1c1
>Copyright (C) 1994-1999 by Apple Computer, Inc.
>
>       time_t          tv_sec;         /* seconds */
>                       ^
>File "Programs:Programming:Perl5.6.1:src:GUSI:include:sys:time.h"; line 48
>#Error: ';' expected
>#-----------------------
>       time_t  tv_sec;         /* seconds */
>               ^
>File "Programs:Programming:Perl5.6.1:src:GUSI:include:sys:time.h"; line 56
>#Error: ';' expected
>#-----------------------
>int pthread_attr_getstacksize(const pthread_attr_t * attr, size_t * size);
>
>etc etc

I love MrC :-P. When you get this error, MrC cannot find the type definition, in this 
case time_t. And this usually means that you've missed to include the appropriate
header file. Does that make sense? :-)


Best regards,

--Thomas


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to