[Maybe redundant] main.cpp:1:18: warning: extra tokens at end of #include directive
Hi there,
I am doing some c++ and my program is working quite fine. Unfortunately, my compilation is giving me this warning.
main.cpp:1:18: warning: extra tokens at end of #include directive
I know it's just a warning but I am sure it can be easily fixed. However, I don't understand it. Probably my header files are not 'written' properly (at least for gcc 3.2.2 under RH9.2). I haven't found something relevant on gooooooogle even if this warning seems to upset quite a lot of people.
If you know how to fix it, thanks very much for letting me know. By the way, what does "main.cpp:1:18" mean? line 18 of sth? what? the #include number 1?
Regards,
PY
|