defined it as "const char
*fmt_str" or "const char *const fmt_str", warning is given.
Most of the time, I would prefer fmt_str to be "const char *" or
"const char *const" to ensure it is not mutable. From my view, the
compiler should either give no warning (
iles, I am not sure why it puts the
table of content at the end of the file. It defects its purpose.
Thanks
--
Qun-Ying
rn 0;
}
I compile with gcc 4.7.0 with:
gcc -Wall -pedantic -std=c99 forward.c
No warning at all. Should gcc warn about the *next pointer points to
an unknown structure? I know it is allow by the standard, but most of
the case, it indicates some error in the code.
--
Qun-Ying