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: Ben Abbott
Subject: Re: build failure on OSX 10.9
Date: Wed, 13 Nov 2013 07:15:54 -0600

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

Carlo,

You might try looking at Fink's info file for 3.6.4 to see if there are any 
patches related to this.  Maybe the same for MacPorts?  Are you able to install 
3.6.4 via MacPorts?

Ben



reply via email to

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