in reply to Unable to split this line of code (printf warning)

That warning is there because someone who writes

print (2+3)*5;

probably meant

print((2+3)*5);

but what they actually get is

(print(2+3))*5;

The warning is both silly and sensible, because the subtle ambiguity in the syntax that it’s about can’t be resolved in any reasonable fashion. Life’s a crapshoot, sometimes.

So either get used to not putting a space between the function and its paren despite your preferences, or say no warnings 'misc'; and risk missing useful warnings. Life’s a crapshoot, sometimes.

Makeshifts last the longest.