2011/11/13 xunxun <[email protected]>:
> Hi, all
>
>    I found that latest mingw64 trunk failed to build gcc4.6's
> libgfortran, and the error is :
>
> libtool: compile:  i686-w64-mingw32-gcc -L/mingw/i686-w64-mingw32/lib
> -L/mingw/mingw/lib -isystem /mingw/i686-w64-mingw32/include -isystem
> /mingw/mingw/include -DHAVE_CONFIG_H -I. -I../.././libgfortran
> -iquote../.././libgfortran/io -I../.././libgfortran/../gcc
> -I../.././libgfortran/../gcc/config
> -I../.././libgfortran/../libquadmath -I../../host-i686-w64-mingw32/gcc
> -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings
> -fcx-fortran-rules -ffunction-sections -fdata-sections -pipe -g0 -O2
> -MT main.lo -MD -MP -MF .deps/main.Tpo -c
> ../.././libgfortran/runtime/main.c -o main.o
> ../.././libgfortran/runtime/main.c: In function 'sprintf':
> /mingw/i686-w64-mingw32/include/stdio.h:277:5: sorry, unimplemented:
> function 'sprintf' can never be inlined because it uses variable
> argument lists
>
>
> removing sprintf's __forceinline in stdio.h will build successfully.
>
>
>
> --
> Best Regards,
> xunxun

Fixed at revision 4593.  Interesting that I didn't saw those warnings
on 4.7.  But well ...
Ozkan,  I would like to see the changes done to stdio.h, wchar.h (and
related _mingw_print_(push/pop).h on stable v2 branch, too.  They are
fixing an issue we have with libstdc++, as without this patch
input/output stream of 'long double' types won't work.

Regards,
Kai

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to