S
Spiro Trikaliotis
Hello,
on a project on which I am working, someone checked in the following
line:
#include "menu_snapshot.h"f
Notice the extra "f" at the end of the line.
The compiler (gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21))
issued a warning "only":
warning: extra tokens at end of #include directive
I was surprised, as I would have expected this to require a fatal
diagnostic.
Was my expectation wrong?
Regards,
Spiro.
on a project on which I am working, someone checked in the following
line:
#include "menu_snapshot.h"f
Notice the extra "f" at the end of the line.
The compiler (gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21))
issued a warning "only":
warning: extra tokens at end of #include directive
I was surprised, as I would have expected this to require a fatal
diagnostic.
Was my expectation wrong?
Regards,
Spiro.