[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build failure on OSX 10.9
From: |
John W. Eaton |
Subject: |
Re: build failure on OSX 10.9 |
Date: |
Wed, 13 Nov 2013 11:32:16 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
On 11/13/2013 10:51 AM, Doug Stewart wrote:
On Wed, Nov 13, 2013 at 6:46 AM, c. <address@hidden
<mailto:address@hidden>> wrote:
Hi,
In trying to build the latest development sources today I noticed the
following failure which I had not seen before:
In file included from ../libgnu/stdio.h:43:0,
from ../libgnu/wchar.h:71,
from /opt/local/include/gcc47/c++/cwchar:46,
from /opt/local/include/gcc47/c++/bits/postypes.h:42,
from
/opt/local/include/gcc47/c++/bits/char_traits.h:42,
from /opt/local/include/gcc47/c++/string:42,
from /opt/local/include/QtCore/qstring.h:54,
from /opt/local/include/QtCore/qobject.h:48,
from /opt/local/include/Qsci/qscilexeroctave.h:33,
from
../../octave/libgui/src/m-editor/file-editor-tab.cc:31:
/usr/include/stdio.h:255:7: error: previous declaration of 'char*
gets(char*)' with 'C' linkage
In file included from ../libgnu/wchar.h:71:0,
from /opt/local/include/gcc47/c++/cwchar:46,
from /opt/local/include/gcc47/c++/bits/postypes.h:42,
from
/opt/local/include/gcc47/c++/bits/char_traits.h:42,
from /opt/local/include/gcc47/c++/string:42,
from /opt/local/include/QtCore/qstring.h:54,
from /opt/local/include/QtCore/qobject.h:48,
from /opt/local/include/Qsci/qscilexeroctave.h:33,
from
../../octave/libgui/src/m-editor/file-editor-tab.cc:31:
../libgnu/stdio.h:1034:1: error: conflicts with new declaration with
'C++' linkage
I don't know why that is happening. The config.h file is included
first in file-editor-tab.cc, correct?
I also see this
from /usr/include/qt4/QtGui/qapplication.h:45,
from /usr/include/qt4/QtGui/QApplication:1,
from ../../libgui/src/octave-dock-widget.cc:24:
../libgnu/unistd.h:121:3: error: #error "Please include config.h first."
In file included from /usr/include/c++/4.6/cwctype:52:0,
from /usr/include/c++/4.6/bits/locale_facets.h:41,
from /usr/include/c++/4.6/bits/basic_ios.h:39,
from /usr/include/c++/4.6/ios:45,
from /usr/include/c++/4.6/ostream:40,
from /usr/include/c++/4.6/iterator:64,
from /usr/include/qt4/QtCore/qlist.h:50,
from /usr/include/qt4/QtCore/qobject.h:50,
from /usr/include/qt4/QtCore/qcoreapplication.h:45,
from /usr/include/qt4/QtGui/qapplication.h:45,
from /usr/include/qt4/QtGui/QApplication:1,
from ../../libgui/src/octave-dock-widget.cc:24:
../libgnu/wctype.h:66:3: error: #error "Please include config.h first."
In file included from
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:42:0,
I added a -I flag so that we are picking up gnulib header files in the
libgui directory now. That requires having config.h included before
any other files. I missed the octave-dock-widget.cc. It should be
fixed now.
jwe
- Re: build failure on OSX 10.9, (continued)
- Re: build failure on OSX 10.9, c., 2013/11/16
- Re: build failure on OSX 10.9, Torsten, 2013/11/15
- Re: build failure on OSX 10.9, c., 2013/11/15
- Re: build failure on OSX 10.9, Torsten, 2013/11/16
- Re: build failure on OSX 10.9, c., 2013/11/16
- Re: build failure on OSX 10.9, John W. Eaton, 2013/11/15
- Re: build failure on OSX 10.9, c., 2013/11/15
- Re: build failure on OSX 10.9, Ben Abbott, 2013/11/14
- Re: build failure on OSX 10.9, c., 2013/11/14
Re: build failure on OSX 10.9, Doug Stewart, 2013/11/13
- Re: build failure on OSX 10.9,
John W. Eaton <=