lists.zerezo.com



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

***BOGO*** Re: [Mingw-users] new error with latest cvs stdlib.h




> -----Original Message-----
> From: Ilya Shestopalov [mailto:yast4ik@xxxxxxxxx] 
> Sent: Sunday, 5 October 2008 7:08 p.m.
> To: mingw-users@xxxxxxxxxxxx
> Subject: [Mingw-users] new error with latest cvs stdlib.h
> 
> 
> Im trying to compile freetype 2.3.7 with latest mingwrt and 
> w32api and with recently updated headers stdio.h, stdlib.h 
> http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/?cvsroot
=src and receive the folloving error:
> 
> In file included from 
> d:/mplayerproj/compiler/proj/freetype-src/freetype2/include/fr
eetype/config/ftstdlib.h:123,
>                  from ./builds/unix/ftconfig.h:43,
>                  from 
> d:/mplayerproj/compiler/proj/freetype-src/freetype2/src/base/f
tsystem.c:29:
> d:/mplayerproj/mingw/bin/../lib/gcc/mingw32/4.2.4/../../../../
> include/stdlib.h:317: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'double'
> make: *** 
> [/d/mplayerproj/compiler/proj/freetype-src/freetype2/objs/ftsy
stem.lo] Error 1
> 
> How to fix it?

Change "inline* to "__inline__" at stdlib.h:317

"inline" is not a keyword in c89 (c89 is enforced by --ansi switch ).  
 Incidentally, you get the same error message if you run  "make test_headers" on CVS
source.
And even more surprisingly -- this has been broken since 5 May 2098 :(


Danny
> 
> 
>       ________________________________________________________
> Вы уже с Yahoo!? 
> Испытайте обновленную и улучшенную. Yahoo! Почту! 
> http://ru.mail.yahoo.com
> 
> --------------------------------------------------------------
> -----------
> This SF.Net email is sponsored by the Moblin Your Move 
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & 
> win great prizes
> Grand prize is a trip for two to an Open Source event 
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@xxxxxxxxxxxxxxxxxxxxx
> 
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.173 / Virus Database: 270.7.5/1708 - Release 
> Date: 4/10/2008 11:35 a.m.
> 
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users