groff
[Top][All Lists]
Advanced

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

Re: signbit(), C++, and Solaris 10


From: Damian McGuckin
Subject: Re: signbit(), C++, and Solaris 10
Date: Fri, 22 Nov 2024 16:30:44 +1100 (AEDT)

On Thu, 21 Nov 2024, G. Branden Robinson wrote:

   In file included from ./src/include/driver.h:25:0,
                    from src/devices/grodvi/dvi.cpp:25:
   ./lib/math.h: In function ?bool signbit(float)?:
   ./lib/math.h:3281:1: error: ?bool signbit(float)? conflicts with a previous 
declaration
    _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit, signbit, bool)

Why does 'signbit()' have type 'bool' in the local 'math.h'?

Thanks - Damian



reply via email to

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