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

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

[Octave-bug-tracker] [bug #29462] compile fails: strerror is not a membe


From: Petr Mikulik
Subject: [Octave-bug-tracker] [bug #29462] compile fails: strerror is not a member of gnulib
Date: Wed, 07 Apr 2010 20:51:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.3 SUSE/5.0.353.0-2.1 (KHTML, like Gecko) Chrome/5.0.353.0 Safari/533.3

Follow-up Comment #2, bug #29462 (project octave):

Except for OpenSUSE, the same problem I see in Debian as well (both with g++
4.3.2). I really cannot exchange g++ there. 

The error message says:
   error: ‘strerror’ is not a member of ‘gnulib’ 
Thus I wonder how "gnulib" as a GNU library can be a part of C++ standard
library -- I guess it is some kind of GNU extension. So why exchange
compiler?

I replaced
       gnulib::strerror (errno);
by
       strerror (errno);
and then Octave compiles OK. So it looks to me like a bug in Octave.

I think that a solution could be
HAVE_GNULIB_STRERROR
which switches between both cases.

Can you please fix it in Octave?


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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