diff libinterp/corefcn/toplev.cc @ 21182:82a44483dbff

move octave_config_features function out of header file * oct-conf-features.h: New file. * module.mk: Generate octave-conf-features.cc instead of oct-conf-features.h. * toplev.cc (Foctave_config_info): Call octave::config::features. * config-features.sh: Adapt to use of namespace. Make internal data static and initialized only once.
author John W. Eaton <jwe@octave.org>
date Wed, 03 Feb 2016 15:10:15 -0500
parents a65b906e25bc
children fcac5dbbf9ed
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.cc	Wed Feb 03 14:37:13 2016 -0500
+++ b/libinterp/corefcn/toplev.cc	Wed Feb 03 15:10:15 2016 -0500
@@ -1456,7 +1456,7 @@
       m.assign ("words_little_endian",
                 octave_value (oct_mach_info::words_little_endian ()));
 
-      m.assign ("features", octave_value (octave_config_features ()));
+      m.assign ("features", octave_value (octave::config::features ()));
 
       int i = 0;