LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   an error:expected unqualified-id before '/' token (https://www.linuxquestions.org/questions/linux-newbie-8/an-error-expected-unqualified-id-before-token-909940/)

aicaicai 10-24-2011 09:15 PM

an error:expected unqualified-id before '/' token
 
I have added a routing protocol in ns2.The protocol only has 1979 lines.But when I make,there are many strange errors as fellows:
zbr/zbr.cc:3958:warning:null character(s) ignored
zbr/zbr.cc:3959:warning:null character(s) ignored
zbr/zbr.cc:31:error:expected unqualified-id before '/' token
zbr/zbr.cc:41:error:'i' dose not name a type
zbr/zbr.cc:123:error:'s' dose not name a type
make:***[zbr/zbr.o] error 1

I can't understand,because in line 31,there is only note(//zhu:global constants are defined here). And in my protocol,there is only 1979 lines,however there is a warning in line 3959.
Please help me. Thank you very much!

aicaicai 10-27-2011 01:16 AM

Now I have resolved.


All times are GMT -5. The time now is 08:40 AM.