News for hackers. Stuff that matters.
Re:New C features in GCC 13 by afdbcreid on Thursday May 04, 2023 @09:21AM (#35814851)
Do you really need to parenthesize the parameters? Is there something that can break the variable declaration into multiple statements?
Re:New C features in GCC 13 by dzaima on Thursday May 04, 2023 @09:25AM (#35814926)
Here, probably not (with proper arguments at least; without the parens something like `MAX(1;2, 3)` would compile without errors though), but I'm just used to doing it everywhere.
Re:New C features in GCC 13 by kps on Thursday May 04, 2023 @10:01AM (#35815465)
Here, no. It's just a habit or common style guideline to always parenthesize macro parameters since so many macros can otherwise break.