octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45659] version function: options and return v


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #45659] version function: options and return values supported by Matlab
Date: Sun, 10 Apr 2016 19:58:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0

Follow-up Comment #23, bug #45659 (project octave):

I checked in the following changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/184b85b31e03

It drops the local date and time.  Worse than there being some small
difference between the time the build-info.cc file is generated and compiled
is that the __TIME__ and __DATE__ depend on timezone.

You can use the Unix-style time functions that Octave already provides to
convert the time to some other form.  See for example, ctime or localtime +
asctime or strftime, etc.

Since the fftw version function was defined in oct-fftw.cc, the declaration
belongs in oct-fftw.h, not build-info.h.  Should we care about the fftwf
version separately from the fftw version?  I suppose they could be different,
most likely if there is some installation problem.  Having both could help in
diagnosing that but it is probably not likely to see that problem.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45659>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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