[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 17:01:21 -0500 |
On 13-Dec-2012, Steven G. Johnson wrote:
| On 12/13/12 4:32 PM, John W. Eaton wrote:
| > 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
|
| Yes, I noticed that macro, and I could use it if necessary (although I
| see no reason to replace floor in this context except to silence the
| warning). But I was curious to know what Jordi's suggestion was to do
| it "without touching" the code; to me, inserting #ifdefs counts as
| "touching". :-)
No, you can't do it without adding the gnulib:: namespace tag.
I'd like to silence the warning.
| (Do I also have to include declarations of gnulib::floor etcetera, or is
| the compilation somehow set up so that the gnulib math.h replaces the
| <cmath> header?)
Yes, the gnulib replacement headers are found first and include the
system headers as necessary.
jwe
- Re: gnulib warnings when compiling Faddeeva.cc, (continued)
- Re: gnulib warnings when compiling Faddeeva.cc, Júlio Hoffimann, 2012/12/09
- Re: gnulib warnings when compiling Faddeeva.cc, Júlio Hoffimann, 2012/12/09
- Re: gnulib warnings when compiling Faddeeva.cc, Jordi Gutiérrez Hermoso, 2012/12/09
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, Jordi Gutiérrez Hermoso, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, John W. Eaton, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc,
John W. Eaton <=
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, John W. Eaton, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/13
- Re: gnulib warnings when compiling Faddeeva.cc, John W. Eaton, 2012/12/14
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/14
- Re: gnulib warnings when compiling Faddeeva.cc, John W. Eaton, 2012/12/14
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/14
- Re: gnulib warnings when compiling Faddeeva.cc, Jordi Gutiérrez Hermoso, 2012/12/14
- Re: gnulib warnings when compiling Faddeeva.cc, Steven G. Johnson, 2012/12/15
- Re: gnulib warnings when compiling Faddeeva.cc, Jordi Gutiérrez Hermoso, 2012/12/15