Hi Orion:

Thanks for doing that suggested experiment.  More below
in context.

On 2013-12-31 16:52-0700 Orion Poplawski wrote:

> 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() ) {
>                                              ^

"is_real_nd_array" is only used in a function that is provided by swig
(as opposed to C++ interface code supplied by PLplot).  So I would
summarize this issue as a backwards-incompatible Octave change (or
bug) that is confounding swig very similar to the missing
OCTAVE_API_VERSION_NUMBER #define.

Again, I think the Octave developers should be consulted about this to
see whether this is a bug or an intended backwards-incompatible change
in the Octave C++ library API.

I won't comment on the rest of the compiler messages you listed since they all
appear to be compiler warning messages as opposed to the much more
serious compiler error message above that breaks our build.

I have finally found the release notes for octave-3.8.0 at
<http://www.gnu.org/software/octave/NEWS-3.8.html> which list some of
the new features and backwards incompatible changes.  I think most/all
of those are relevant only for octave source code and not for the
octave C++ library.  Nevertheless I mention that URL because that
document may be a good guide to any changes we may have to make in our
octave-level source code if/when we find a way to get the
swig-generated octave bindings built for Octave version 3.8.x.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to