Re: Trying to access a function that was in fp.h - nextafterd
Subject : Re: Trying to access a function that was in fp.h - nextafterd
From: Fritz Anderson <email@hidden >
Date: Mon, 31 Oct 2005 08:05:11 -0600
Delivered-to: email@hidden
Delivered-to: email@hidden
On 31 Oct 2005, at 6:52 AM, Peter Michelsen wrote:
Working on some code, that uses the function nextafterd that was
part of fp.h on codewarrior.
I am now getting a compiler error "not declared in this scope" on
this function in XCode 2.1 on a G5.
After trying many different includes types, then reading all the
documentation, sample codes and googling, still no luck.
The most strange part is the function nextafterf works.
So has anyone else come across this problem?
Is it a problem with GCC 4 and doubles?
According to the man page, the double version is nextafter(), no d,
in <math.h>. You may want to do something like
#ifndef __MWERKS__
#define nextafterd nextafter
#endif
-- F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.