[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43319] Octave dev version fails to build with
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64 |
Date: |
Sun, 28 Sep 2014 17:43:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 |
URL:
<http://savannah.gnu.org/bugs/?43319>
Summary: Octave dev version fails to build with --enable-64
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Sun 28 Sep 2014 07:43:42 PM CEST
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Not only the dev version (4.1.0+) but also gui-release (3.9.0+).
The offending code is in QtHandles.
FWIW I see more or less the same error ("no matching function for..." ...some
call to a function with int* argument) when trying to install some OF packages
(image, odepkg) in Octave 3.8.2 built with --enable-64.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../octave-dev/libgui -I..
-I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/libxml2
-I/usr/include/freetype2 -I/usr/include/QtNetwork -I/usr/include/QtOpenGL
-I/usr/include/QtGui -I/usr/include/QtCore -Igraphics
-I../../octave-dev/libgui/graphics -I../../octave-dev/liboctave/cruft/misc
-I../../octave-dev/liboctave/array -I../liboctave/numeric
-I../../octave-dev/liboctave/numeric -I../liboctave/operators
-I../../octave-dev/liboctave/operators -I../../octave-dev/liboctave/system
-I../../octave-dev/liboctave/util -I../libinterp -I../../octave-dev/libinterp
-I../libinterp/parse-tree -I../../octave-dev/libinterp/parse-tree
-I../libinterp/corefcn -I../../octave-dev/libinterp/corefcn
-I../../octave-dev/libinterp/octave-value -Wall -W -Wshadow -Wold-style-cast
-Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
-pthread -MT graphics/graphics_libgui_graphics_la-QtHandlesUtils.lo -MD -MP
-MF graphics/.deps/graphics_libgui_graphics_la-QtHandlesUtils.Tpo -c
../../octave-dev/libgui/graphics/QtHandlesUtils.cc -fPIC -DPIC -o
graphics/.libs/graphics_libgui_graphics_la-QtHandlesUtils.o
../../octave-dev/libgui/graphics/QtHandlesUtils.cc: In function 'QImage
QtHandles::Utils::makeImageFromCData(const octave_value&, int, int)':
../../octave-dev/libgui/graphics/QtHandlesUtils.cc:223:33: error: no matching
function for call to 'qMin(octave_idx_type&, int&)'
int w = qMin (dv(1), width);
^
../../octave-dev/libgui/graphics/QtHandlesUtils.cc:223:33: note: candidate
is:
In file included from /usr/include/QtCore/qnamespace.h:45:0,
from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtCore/qobject.h:47,
from /usr/include/QtCore/qcoreapplication.h:45,
from /usr/include/QtGui/qapplication.h:45,
from /usr/include/QtGui/QApplication:1,
from ../../octave-dev/libgui/graphics/QtHandlesUtils.cc:27:
/usr/include/QtCore/qglobal.h:1215:34: note: template<class T> const T&
qMin(const T&, const T&)
Q_DECL_CONSTEXPR inline const T &qMin(const T &a, const T &b) { return (a <
b) ? a : b; }
^
/usr/include/QtCore/qglobal.h:1215:34: note: template argument
deduction/substitution failed:
../../octave-dev/libgui/graphics/QtHandlesUtils.cc:223:33: note: deduced
conflicting types for parameter 'const T' ('long int' and 'int')
int w = qMin (dv(1), width);
^
../../octave-dev/libgui/graphics/QtHandlesUtils.cc:224:34: error: no matching
function for call to 'qMin(octave_idx_type&, int&)'
int h = qMin (dv(0), height);
^
../../octave-dev/libgui/graphics/QtHandlesUtils.cc:224:34: note: candidate
is:
In file included from /usr/include/QtCore/qnamespace.h:45:0,
from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtCore/qobject.h:47,
from /usr/include/QtCore/qcoreapplication.h:45,
from /usr/include/QtGui/qapplication.h:45,
from /usr/include/QtGui/QApplication:1,
from ../../octave-dev/libgui/graphics/QtHandlesUtils.cc:27:
/usr/include/QtCore/qglobal.h:1215:34: note: template<class T> const T&
qMin(const T&, const T&)
Q_DECL_CONSTEXPR inline const T &qMin(const T &a, const T &b) { return (a <
b) ? a : b; }
^
/usr/include/QtCore/qglobal.h:1215:34: note: template argument
deduction/substitution failed:
../../octave-dev/libgui/graphics/QtHandlesUtils.cc:224:34: note: deduced
conflicting types for parameter 'const T' ('long int' and 'int')
int h = qMin (dv(0), height);
^
Makefile:3370: recipe for target
'graphics/graphics_libgui_graphics_la-QtHandlesUtils.lo' failed
make[3]: *** [graphics/graphics_libgui_graphics_la-QtHandlesUtils.lo] Error 1
make[3]: Leaving directory '/home/philip/devel/octdev/oct410+_64/libgui'
Makefile:2581: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/philip/devel/octdev/oct410+_64/libgui'
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43319>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64,
Philip Nienhuis <=