Re: One-liner breaks "strtold" in XCode 2.4
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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. 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. 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... You don't say what "breaks" means. You also don't say what version of gcc you are using. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin C. Walker