https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79017

--- Comment #11 from Jeffrey Walton <noloader at gmail dot com> ---

> Does this C program compile and link on 10.4 and 10.5?
> 
> long long llrint(double x);
> long long llrintf(float x);
> long long llrintl(long double x);
> long long llround(double x);
> long long llroundf(float x);
> long long llroundl(long double x);
> 
> int main()
> {
>   llrint(0.0);
>   llrintf(0.0f);
>   llrintl(0.0l);
>   llround(0.0);
>   llroundf(0.0f);
>   llroundl(0.0l);
>   return 0;
> }

Confirmed it _did not_ compile on OS X 10.5.8. I tried with/without 'extern',
and with/without '-lm'.

Sorry about the false alarm.

Reply via email to