Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
macro name is a reserved identifier #4254
Well now for me it is - is this possible to fix or do I have to manually fix it each time (curl is used in a number of projects and I don't wanna turn this flag off)?
flags: -Weverything -Werror et al
error E2300: macro name is a reserved identifier:
BTW, clang's -Weverything option warns on totally fine things as well in some misguided attempt to be "helpful" which makes the option less useful to use when building curl and I'll advice against it.
Things like that it pads structs or finds "unknown command tag name" (email addresses) in comments.