octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41027] config.h is too generic


From: Orion Poplawski
Subject: [Octave-bug-tracker] [bug #41027] config.h is too generic
Date: Sun, 29 Dec 2013 15:43:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

URL:
  <http://savannah.gnu.org/bugs/?41027>

                 Summary: config.h is too generic
                 Project: GNU Octave
            Submitted by: opoplawski
            Submitted on: Sun 29 Dec 2013 03:43:39 PM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

We're seeing build issues with plplot against octave 3.8.0:


/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.10/include
-I/builddir/build/BUILD/plplot-5.9.10/lib/qsastime
-I/builddir/build/BUILD/plplot-5.9.10/fedora
-I/builddir/build/BUILD/plplot-5.9.10/fedora/include
-I/builddir/build/BUILD/plplot-5.9.10/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.10/bindings/swig-support    -o
CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o -c
/builddir/build/BUILD/plplot-5.9.10/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx
In file included from /usr/include/octave-3.8.0/octave/dim-vector.h:35:0,
                 from /usr/include/octave-3.8.0/octave/Array.h:35,
                 from /usr/include/octave-3.8.0/octave/boolMatrix.h:27,
                 from /usr/include/octave-3.8.0/octave/mx-base.h:32,
                 from /usr/include/octave-3.8.0/octave/Matrix.h:30,
                 from /usr/include/octave-3.8.0/octave/oct.h:33,
                 from
/builddir/build/BUILD/plplot-5.9.10/fedora/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.0/octave/oct-refcount.h:27:3: error: #error "The file
<octave/config.h> must be included before oct-refcount.h."
 # error "The file <octave/config.h> must be included before oct-refcount.h."

This appears to be because plplot's own config.h is included from octave/oct.h
instead of octave's.  octave/oct.h has:

#include <config.h>

I would argue that this should be <octave/config.h> (and same for other octave
headers).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41027>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]