> Shouldn't the static also be in the definition? julia

As much as g++ is concerned, the static may or may not be part of the definition: At least the following

$ cat xxx.cc
static inline int f();
int f(void) {
    return 0;
}

compiles fine with

$ g++ -c -Wall -Wextra -Weffc++ -Wpedantic xxx.cc


_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to