octave-maintainers
[Top][All Lists]
Advanced

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

Re: build failure on OSX 10.9


From: Doug Stewart
Subject: Re: build failure on OSX 10.9
Date: Wed, 13 Nov 2013 10:51:48 -0500




On Wed, Nov 13, 2013 at 6:46 AM, c. <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

Has anyone seen this before? any idea how to fix it?
Thanks,
c.


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,


--
DASCertificate for 206392


reply via email to

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