pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48334: graphics/gd uses "ceill()", silently succeeds on amd64-6.1_STABLE, undefined symbol on macppc-6.99.24
The following reply was made to PR pkg/48334; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/48334: graphics/gd uses "ceill()", silently succeeds on
amd64-6.1_STABLE, undefined symbol on macppc-6.99.24
Date: Wed, 23 Oct 2013 16:45:20 -0500 (CDT)
I just got to thinking about the warning messages that gcc 4.5.3 emits
on netbsd-6. It said "built-in function ceill()".
I take it to mean that the compiler is inserting some mysterious internal
implementation of ceill() and simply grousing about the implicit
declaration (due to missing prototype) not matching that of its mysterious
internal implementation.
So, the prototype in -current <math.h> silences that complaint, but
still leaves the compiler inserting its own code for ceill().
It would also appear that this is present in the x86-family-target
compilers, but not in powerpc-target compiler (others?)?
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index