On 12/31/2013 11:56 AM, Alan W. Irwin wrote:
> On 2013-12-30 13:42-0700 Orion Poplawski wrote:
> 
>> Ah, you hit the nail on the head - they dropped OCTAVE_API_VERSION_NUMBER
>> completely.  I've sent an email to the octave developers asking why.
> 
> To see if there are any more octave-3.8.0 issues beyond this one, I
> suggest you temporarily add
> 
> #define OCTAVE_API_VERSION_NUMBER 49
> 
> to the generated bindings/octave/plplot_octaveOCTAVE_wrap.cxx
> file and see how far you get with

cd /home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave &&
/usr/lib64/ccache/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  -m64
-mtune=generic  -fPIC -I/home/orion/fedora/plplot/plplot-5.9.11/include
-I/home/orion/fedora/plplot/plplot-5.9.11/lib/qsastime
-I/home/orion/fedora/plplot/plplot-5.9.11/fedora
-I/home/orion/fedora/plplot/plplot-5.9.11/fedora/include
-I/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave
-I/usr/include/octave-3.8.0 -I/usr/include/octave-3.8.0/octave
-I/home/orion/fedora/plplot/plplot-5.9.11/bindings/swig-support    -o
CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o -c
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In member function ‘virtual dim_vector octave_swig_type::dims() const’:
/home/orion/fedora/plplot/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() ) {
                                              ^
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function ‘void SWIG_Octave_LinkGlobalValue(std::string)’:
/home/orion/fedora/plplot/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);
                            ^
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function ‘void labelfunc_octave(PLINT, PLFLT, char*, PLINT, PLPointer)’:
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2310:13:
warning: unused variable ‘i’ [-Wunused-variable]
         int i;
             ^
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In function ‘void ct_octave(PLFLT, PLFLT, PLFLT*, PLFLT*, PLPointer)’:
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2336:25:
warning: unused variable ‘i’ [-Wunused-variable]
         octave_idx_type   i;
                         ^
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
In member function ‘virtual dim_vector octave_swig_type::dims() const’:
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1200:5:
warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
/home/orion/fedora/plplot/plplot-5.9.11/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:
At global scope:
/home/orion/fedora/plplot/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) {
                            ^
/home/orion/fedora/plplot/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 )
     ^
make[2]: ***
[bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o]
Error 1


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.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