[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 |
I guess it is line number one, 18th character.
It would help if you show us your program's first lines. |
Tks you... It was a stupid ;
I am too slow ;-) But tks for the meaning of the second numbers... Now I can get rid of the stupid charaters I added. |
All times are GMT -5. The time now is 07:12 AM. |