On Sat, 7 Oct 2023 at 00:00, Alec Ari via Emc-developers
<emc-developers@lists.sourceforge.net> wrote:
>
> I don't exactly know why switching to GNU11 causes this issue, maybe the 
> GNU11 standard already defines these, but I removed LinuxCNC's definitions of 
> the following functions:
>
> atan
> asin
> acos
> fmax
> fmin

That looks like it shouldn't break usapce, as is wrapped in #ifdef _KERNEL_

The odd thing is that there are clearly duplicate definitions in
there, in that single file. Perhaps the difference is that gnu11 flags
bring in a different set of error checks? For example I have noticed
that the RTAI build gets mildly upset about switch statements which
fall-through.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to