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

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

[Octave-bug-tracker] [bug #43298] Octave 3.8.1 & 3.8.2 Will Not Build Wi


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #43298] Octave 3.8.1 & 3.8.2 Will Not Build With OS X 10.10 Yosemite or Xcode 6.0.1 or later
Date: Thu, 25 Sep 2014 15:41:09 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10

Follow-up Comment #7, bug #43298 (project octave):

Carlo,

I'm also running Mavericks with Xcode 6.0.1, but am using gcc-4.7.

I'm able to build and run Octave and octave-gui with the following change to
libgnu/stdio.h (no other changes needed).


1029 /* It is very rare that the developer ever has full control of stdin,
1030    so any use of gets warrants an unconditional warning; besides, C11
1031    removed it.
1032 #undef gets
1033 #if HAVE_RAW_DECL_GETS
1034 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
1035 #endif  */


I haven't done much testing ... is some particular action/event needed to
cause a crash.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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