Re: One-liner breaks "strtold" in XCode 2.4
Re: One-liner breaks "strtold" in XCode 2.4
- Subject: Re: One-liner breaks "strtold" in XCode 2.4
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 28 Nov 2006 17:31:26 -0800
On Nov 28, 2006, at 14:37 , Jay Reynolds Freeman wrote:
I have a one-line C program that breaks "strtold"
(string to long double) when compiled with gcc and
linked with the libraries that came with XCode 2.4,
running on a Macbook with OS X 10.4.8.
You don't say what "breaks" means. You also don't say what version
of gcc you are using.
I would be curious myself to know whose problem
this is, so that I can report it appropriately
if it is not Apple's
If this posting is inappropriate here, please
forgive me, I just joined the group.
This is a reasonable place to discuss this; so is the 'unix-porting'
list. The Xcode list is more for issues dealing with the IDE itself.
FWIW, I find that your code produces reasonable results with gcc
4.0.1. With 3.3 (on 10.4.8 and 10.3.9) and 3.1 (on 10.3.9), I get a
bunch of non-zero bits in the output where there should presumably be
0's.
Justin
--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden