Jeremy Lorelli created a merge request: 
https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/23

Project:Branches: jjl77/rtems-net-services:pr-fix-coldfire-build-err to 
rtems/pkg/rtems-net-services:main
Author:   Jeremy Lorelli




## Summary

ntp: Avoid including broken (on Coldfire) ieeefp.h header

The LDBL_EQ_DBL define in newlib.h is determined at GCC/newlib configure
time and is shared between all 68k targets. The default 68k target for GCC
supports long double (12 bytes), while the Coldfire ISA does not. This
results in LDBL_EQ_DBL being undefined for Coldfire targets, even though
double and long double are indeed equal. ieeefp.h has sanity checks that
fail if LDBL_EQ_DBL is not defined when sizeof(long double) ==
sizeof(double).

A workaround is to avoid including this header. In this case, it doesn't
seem to be a necessary include anyway.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/23
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to