On 11/29/2011 01:01 AM, John W. Eaton wrote: > While trying to cross compile Octave for MinGW, I hit the following > errors: > > In file included from /home/jwe/src/octave/liboctave/oct-time.h:26:0, > from /home/jwe/src/octave/liboctave/file-stat.h:28, > from /home/jwe/src/octave/liboctave/file-ops.cc:43: > /usr/include/c++/4.6/ctime:72:11: error: '::gmtime' has not been declared > /usr/include/c++/4.6/ctime:73:11: error: '::localtime' has not been declared > > > Would it be possible to handle these definitions in gnulib's time.h > instead of inserting them in config.h?
Yes, we need to modernize this module to get rid of the in-config.h replacements, like we have done for other modules. Would you like to try helping in that process? See commit 60b73b05 for an example of where we did the same for mktime(). -- Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
