[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signbit #define'd causes compilation error in octave
From: |
Philipp Thomas |
Subject: |
Re: signbit #define'd causes compilation error in octave |
Date: |
Thu, 10 Nov 2011 12:14:25 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Eric Blake (address@hidden) [20111018 23:07]:
> But since octave is written in C++, we could avoid the macros and
> instead have three overloaded functions named signbit which operate
> on the correct types, so as not to pollute the namespace with a
> macro.
That's why the C++ standard has replacement headers for a few standard C
headers, exactly to replace macros with real functions. Alas, AFAIK MS
didn't implement that part of the standard.
Philipp
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: signbit #define'd causes compilation error in octave,
Philipp Thomas <=