Hi,

On Wed, Feb 03, 2010 at 06:28:22PM -0800, Josh Triplett wrote:
> /tmp$ i586-mingw32msvc-gcc ~/src/samples/hello.c -o /tmp/hello32
> /home/josh/src/samples/hello.c:1:19: error: stdio.h: No such file or directory
> /home/josh/src/samples/hello.c: In function ‘main’:
> /home/josh/src/samples/hello.c:5: warning: incompatible implicit declaration 
> of built-in function ‘printf’
> (1) /tmp$ file /tmp/hello32
> /tmp/hello32: ERROR: cannot open `/tmp/hello32' (No such file or directory)
> (1) /tmp$ amd64-mingw32msvc-gcc ~/src/samples/hello.c -o /tmp/hello64
> /home/josh/src/samples/hello.c:1:19: error: stdio.h: No such file or directory
> /home/josh/src/samples/hello.c: In function ‘main’:
> /home/josh/src/samples/hello.c:5: warning: incompatible implicit declaration 
> of built-in function ‘printf’
> (1) /tmp$ file /tmp/hello64
> /tmp/hello64: ERROR: cannot open `/tmp/hello64' (No such file or directory)
> (1) /tmp$
> 
> 
> A C compiler that can't compile hello world hardly seems functional.

Yeah. And now that change also caused a FTBFS on the buildds (if I uploaded
3.1.1 now it would have had the same one):

https://buildd.debian.org/fetch.cgi?pkg=openoffice.org&arch=i386&ver=1%3A3.2.0~rc5-1&stamp=1265272886&file=log&as=raw:

[...]
configure: WARNING: not found, will be cross-built using mingw32
checking for external/unowinreg/unowinreg.dll... checking for 
i486-linux-gnu-i586-mingw32msvc-g++... no
checking for i586-mingw32msvc-g++... i586-mingw32msvc-g++
checking whether we are using the MinGW32 cross C++ compiler... yes
checking for i486-linux-gnu-i586-mingw32msvc-strip... no
checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
checking for main in -lkernel32... no
checking for main in -ladvapi32... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
configure: error: windows.h missing
make[1]: *** [stamp/build] Error 1
[...]

I'll work around it by adding mingew32-runtime ts a explicit build-dep, too,
but....

Grüße/Regards,

René



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to