On Sat, Dec 21, 2024 at 08:12:17AM +0800, Qian Yun wrote:
> Removing the "inline" keyword can make FriCAS
> c89 compliant (instead of current c99).
>
> Is this worth it?
No. I do not think there is any complier that we want to use
which do not support 'inline'. And in higly unlikely case when
some compiler can not handle 'inline' we can do something like:
#ifdef COMP_X
#define inline
#endif
where COMP_X is a symbol identifying compile X.
That is, we can use 'inline' for compilers that implement it
and use C macro for other.
--
Waldek Hebisch