On 12/29/2013 01:34 PM, Alan W. Irwin wrote:
> Please let me know if my latest PLplot change from config.h to
> plplot_config.h (revision 12914) solves this issue. Of course, if it
> doesn't solve it, the change was worth doing anyway. And if it does
> solve it, I hope your bug report still convinces the Octave developers
> to move back to using the quoted form of #include for config.h (or
> better yet change the name to octave_config.h). After all, there are
> likely quite a few software projects still left out there that do use
> the config.h name (at least internally in their build tree as PLplot
> did up to now).
> 
> Alan


Alan - That does indeed get us further - but now we seem to be into the
meat of the API changes in octave:

/usr/bin/cmake -E cmake_progress_report
/builddir/build/BUILD/plplot-5.9.11/fedora/CMakeFiles 19
[ 13%] Building CXX object
bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o
cd /builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave &&
/usr/bin/c++   -DHAVE_CONFIG_H -Dplplot_octave_EXPORTS -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables  -fPIC
-I/builddir/build/BUILD/plplot-5.9.11/include
-I/builddir/build/BUILD/plplot-5.9.11/lib/qsastime
-I/builddir/build/BUILD/plplot-5.9.11/fedora
-I/builddir/build/BUILD/plplot-5.9.11/fedora/include
-I/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave
-I/usr/include/octave-3.8.0 -I/usr/include/octave-3.8.0/octave
-I/builddir/build/BUILD/plplot-5.9.11/bindings/swig-support    -o
CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o -c
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1507:36:
warning: 'Octave_map' is deprecated (declared at
/usr/include/octave-3.8.0/octave/oct-map.h:484) [-Wdeprecated-declarations]
     virtual Octave_map map_value() const {
                                    ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1507:24:
error: invalid covariant return type for 'virtual Octave_map
octave_swig_type::map_value() const'
     virtual Octave_map map_value() const {
                        ^
In file included from /usr/include/octave-3.8.0/octave/ov.h:58:0,
                 from /usr/include/octave-3.8.0/octave/oct-obj.h:34,
                 from /usr/include/octave-3.8.0/octave/ov-fcn.h:32,
                 from /usr/include/octave-3.8.0/octave/ov-builtin.h:28,
                 from /usr/include/octave-3.8.0/octave/defun-int.h:28,
                 from /usr/include/octave-3.8.0/octave/defun-dld.h:30,
                 from /usr/include/octave-3.8.0/octave/oct.h:36,
                 from
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.0/octave/ov-base.h:568:22: error:   overriding
'virtual octave_map octave_base_value::map_value() const'
   virtual octave_map map_value (void) const;
                      ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In member function 'virtual dim_vector octave_swig_type::dims() const':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1183:46:
error: 'class octave_value' has no member named 'is_real_nd_array'
       } else if (out.is_matrix_type() || out.is_real_nd_array() ||
out.is_numeric_type() ) {
                                              ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
At global scope:
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1742:36:
warning: 'Octave_map' is deprecated (declared at
/usr/include/octave-3.8.0/octave/oct-map.h:484) [-Wdeprecated-declarations]
     virtual Octave_map map_value() const
                                    ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1742:24:
error: invalid covariant return type for 'virtual Octave_map
octave_swig_ref::map_value() const'
     virtual Octave_map map_value() const
                        ^
In file included from /usr/include/octave-3.8.0/octave/ov.h:58:0,
                 from /usr/include/octave-3.8.0/octave/oct-obj.h:34,
                 from /usr/include/octave-3.8.0/octave/ov-fcn.h:32,
                 from /usr/include/octave-3.8.0/octave/ov-builtin.h:28,
                 from /usr/include/octave-3.8.0/octave/defun-int.h:28,
                 from /usr/include/octave-3.8.0/octave/defun-dld.h:30,
                 from /usr/include/octave-3.8.0/octave/oct.h:36,
                 from
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.0/octave/ov-base.h:568:22: error:   overriding
'virtual octave_map octave_base_value::map_value() const'
   virtual octave_map map_value (void) const;
                      ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'void SWIG_Octave_LinkGlobalValue(std::string)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2052:28:
warning: 'static octave_value& symbol_table::varref(const string&,
symbol_table::scope_id, symbol_table::context_id, bool)' is deprecated
(declared at /usr/include/octave-3.8.0/octave/symtab.h:1322)
[-Wdeprecated-declarations]
   symbol_table::varref(name);
                            ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'void labelfunc_octave(PLINT, PLFLT, char*, PLINT, PLPointer)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2310:13:
warning: unused variable 'i' [-Wunused-variable]
         int i;
             ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'void ct_octave(PLFLT, PLFLT, PLFLT*, PLFLT*, PLPointer)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2336:27:
warning: unused variable 'i' [-Wunused-variable]
         octave_idx_type   i;
                           ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'octave_value_list _wrap_plGetCursor(const
octave_value_list&, int)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:8412:60:
warning: 'octave_value::octave_value(const charMatrix&, bool, char)' is
deprecated (declared at /usr/include/octave-3.8.0/octave/ov.h:242)
[-Wdeprecated-declarations]
     retval4( 0 ) = octave_value( charMatrix( 80, 1 ), true );
                                                            ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'octave_value_list _wrap_plgdev(const octave_value_list&, int)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:15264:60:
warning: 'octave_value::octave_value(const charMatrix&, bool, char)' is
deprecated (declared at /usr/include/octave-3.8.0/octave/ov.h:242)
[-Wdeprecated-declarations]
     retval1( 0 ) = octave_value( charMatrix( 80, 1 ), true );
                                                            ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'octave_value_list _wrap_plgfnam(const octave_value_list&,
int)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:15510:60:
warning: 'octave_value::octave_value(const charMatrix&, bool, char)' is
deprecated (declared at /usr/include/octave-3.8.0/octave/ov.h:242)
[-Wdeprecated-declarations]
     retval1( 0 ) = octave_value( charMatrix( 80, 1 ), true );
                                                            ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'octave_value_list _wrap_plgver(const octave_value_list&, int)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:15793:60:
warning: 'octave_value::octave_value(const charMatrix&, bool, char)' is
deprecated (declared at /usr/include/octave-3.8.0/octave/ov.h:242)
[-Wdeprecated-declarations]
     retval1( 0 ) = octave_value( charMatrix( 80, 1 ), true );
                                                            ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'bool SWIG_Octave_LoadModule(std::string)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21858:5:
error: 'begin_frame' is not a member of 'unwind_protect'
     unwind_protect::begin_frame("SWIG_Octave_LoadModule");
     ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21859:35:
error: 'unwind_protect_int' was not declared in this scope
     unwind_protect_int(error_state);
                                   ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21861:47:
error: 'unwind_protect_bool' was not declared in this scope
     unwind_protect_bool(discard_error_messages);
                                               ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21877:5:
error: 'run_frame' is not a member of 'unwind_protect'
     unwind_protect::run_frame("SWIG_Octave_LoadModule");
     ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function 'bool SWIG_Octave_InstallFunction(octave_function*,
std::string)':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21890:5:
error: 'begin_frame' is not a member of 'unwind_protect'
     unwind_protect::begin_frame("SWIG_Octave_InstallFunction");
     ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21891:35:
error: 'unwind_protect_int' was not declared in this scope
     unwind_protect_int(error_state);
                                   ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21893:47:
error: 'unwind_protect_bool' was not declared in this scope
     unwind_protect_bool(discard_error_messages);
                                               ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21913:5:
error: 'run_frame' is not a member of 'unwind_protect'
     unwind_protect::run_frame("SWIG_Octave_InstallFunction");
     ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In member function 'virtual dim_vector octave_swig_type::dims() const':
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1200:5:
warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
At global scope:
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1859:28:
warning: 'octave_value_list octave_set_immutable(const
octave_value_list&, int)' defined but not used [-Wunused-function]
   static octave_value_list octave_set_immutable(const octave_value_list
&args, int nargout) {
                            ^
/builddir/build/BUILD/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2158:5:
warning: 'int _arraylen(const octave_value&)' defined but not used
[-Wunused-function]
     _arraylen( const octave_value &o_obj )
     ^


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  or...@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to