/usr/include/octave-4.0.3/octave/version.h is in liboctave-dev 4.0.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | // DO NOT EDIT! Generated automatically from version.in.h by Make.
/*
Copyright (C) 1992-2015 John W. Eaton
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING. If not, see
<http://www.gnu.org/licenses/>.
*/
#if !defined (octave_version_h)
#define octave_version_h 1
#define OCTAVE_VERSION "4.0.3"
#define OCTAVE_MAJOR_VERSION 4
#define OCTAVE_MINOR_VERSION 0
#define OCTAVE_PATCH_VERSION 3
// The "API version" is used as a way of checking that interfaces in the
// liboctave and libinterp libraries haven't changed in a backwardly
// incompatible way when loading .oct files. A better way to do that is
// with library versioning, but not all systems support that.
// NOTE: This macro will be removed in a future version of Octave. If
// you insist on checking for features using a version number, use the
// OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, and
// OCTAVE_PATCH_VERSION macros instead.
#define OCTAVE_API_VERSION "api-v50+"
#define OCTAVE_RELEASE_DATE "2016-07-01"
#define OCTAVE_COPYRIGHT "Copyright (C) 2016 John W. Eaton and others."
#include <string>
extern OCTINTERP_API std::string octave_www_statement (bool html = false);
extern OCTINTERP_API std::string octave_contrib_statement (bool html = false);
extern OCTINTERP_API std::string octave_bugs_statement (bool html = false);
extern OCTINTERP_API std::string octave_name_version_and_copyright (void);
extern OCTINTERP_API std::string
octave_name_version_copyright_copying_and_warranty
(bool html = false, const std::string& extra_info = std::string ());
extern OCTINTERP_API std::string
octave_name_version_copyright_copying_warranty_and_bugs
(bool html = false, const std::string& extra_info = std::string ());
extern OCTINTERP_API std::string octave_startup_message (bool html = false);
#endif
|