octave-maintainers
[Top][All Lists]
Advanced

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

Re: gnulib warnings when compiling Faddeeva.cc


From: John W. Eaton
Subject: Re: gnulib warnings when compiling Faddeeva.cc
Date: Thu, 13 Dec 2012 16:32:51 -0500

On 13-Dec-2012, Steven G. Johnson wrote:

| > I don't see a reason to not perform the replacement, but I think it
| > can be done without touching your code.
| 
| How?

One way would be to put

  #ifndef GNULIB_NAMESPACE
  #  define GNULIB_NAMESPACE
  #endif

in Faddeeva.cc after including config.h, then use

  GNULIB_NAMESPACE::floor

and

  GNULIB_NAMESPACE::copysign

We already define GNULIB_NAMESPACE to gnulib in Octave's config.h
file, so that would be used when Faddeeva.cc is compiled as part of
Octave.  Would doing something like that be acceptable to you?

jwe


reply via email to

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