bug-gnulib
[Top][All Lists]
Advanced

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

more mingw C++ link failures


From: Eric Blake
Subject: more mingw C++ link failures
Date: Mon, 26 Apr 2010 16:54:47 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4

I'm getting the following failure while testing my open_memstream changes:

$ ./gnulib-tool --with-tests --create-testdir --dir=testdir-mingw \
  open_memstream
$ cd testdir-mingw
$ ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin \
  CC='gcc-3 -mno-cygwin' CXX='g++-3 -mno-cygwin
...
$ make check
...
g++-3 -mno-cygwin -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I.
-I.. -I./.. -I../gllib -I./../gllib -MT test-time-c++2.o -MD -MP -MF
.deps/test-time-c++2.Tpo -c -o test-time-c++2.o test-time-c++2.cc
In file included from test-time-c++2.cc:20:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ctime:76: error:
`::gmtime' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ctime:77: error:
`::localtime' has not been declared

Sounds like we need to be careful with whether gmtime and localtime have
been declared while building the replacement <time.h>, but I'm hoping
that those more familiar with the recent C++ prototyping can step in and
help here.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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