octave-maintainers
[Top][All Lists]
Advanced

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

RE: MSVC compiler support [patch 24]: strftime crash


From: John W. Eaton
Subject: RE: MSVC compiler support [patch 24]: strftime crash
Date: Fri, 27 Oct 2006 19:21:55 -0400

On 26-Oct-2006, address@hidden wrote:

| > For now, I have a special case in configure.in. Can you please checkto make
| > sure that liboctave/strftime.c will compile on your system if
| > HAVE_STRFTIME is not defined in config.h?
| 
| It does, but you have to add the following lines to oct-time.cc:
| 
| #ifndef HAVE_STRFTIME
| /* Just to be sure to override any previous definition and use local version 
*/
| extern \"C\" size_t strftime (char *s, size_t maxsize, const char *format, 
const struct tm *tp);
| #endif

OK, I did this.

Thanks,

jwe


reply via email to

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