Warning for C Parameter Name Mismatch
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Mar 11 11:35:00 GMT 2019
On Sat, 9 Mar 2019 at 17:51, Joel Sherrill wrote:
> And not checking system headers is reasonable in general. For RTEMS though, we are implementing those system headers and do follow the names in the standards for parameter names in the implementation.
Using exactly the names from the standard is non-conforming, because
they aren't reserved names and so this valid code would fail to
compile:
#define format 1
#include <stdio.h>
int main() { printf("%d\n", format); }
More information about the Gcc
mailing list