[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thoughts on replacing macros with static inline functions
From: |
xenodasein |
Subject: |
Re: Thoughts on replacing macros with static inline functions |
Date: |
Fri, 18 Nov 2022 07:19:45 +0100 (CET) |
Nov 18, 2022, 05:05 by rms@gnu.org:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> I agree -- there is nothing wrong with macros, and we should
> not make it or goal to eliminate the use of macros.
> Macros have pitfalls, which are consequences of their basic nature,
> but we know how to avoid them, and have documented the methods.
>
> The GNU C Language Introduction and Reference Manual advises users on
> how to deal with these and many other pitfalls of the C language.
>
> --
> Dr Richard Stallman (https://stallman.org)
> Chief GNUisance of the GNU Project (https://gnu.org)
> Founder, Free Software Foundation (https://fsf.org)
> Internet Hall-of-Famer (> https://internethalloffame.org> )
>
Why do you not consider __attribute__((always_inline)) an improvement
over macros where applicable?
- Thoughts on replacing macros with static inline functions, Brent Pappas, 2022/11/14
- Re: Thoughts on replacing macros with static inline functions, Eli Zaretskii, 2022/11/15
- Re: Thoughts on replacing macros with static inline functions, Richard Stallman, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, Eli Zaretskii, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, xenodasein, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, Po Lu, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, Eli Zaretskii, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, tomas, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, xenodasein, 2022/11/18
- Re: Thoughts on replacing macros with static inline functions, Stefan Monnier, 2022/11/18