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!
|