Re: gnulib problem with mktime & ctime interaction

2009-07-27 Thread Ross McFarland
TIME instead of defining mktime in config.h. >        * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize REPLACE_MKTIME. >        * modules/time (Makefile.am): Substitute REPLACE_MKTIME. >        Reported by Ross McFarland . > ... i just manually applied the changes in this patc

gnulib problem with mktime & ctime interaction

2009-07-26 Thread Ross McFarland
when using gnulib's mktime test any cpp file that #includes ctime will receive the following errors: In file included from time.cc:6: /usr/include/c++/4.3/ctime:73: error: ‘::mktime’ has not been declared time.cc: In function ‘int main()’: time.cc:11: error: ‘mktime’ was not declared in this scope