错误:ISO C ++禁止声明无类型的“ playbackbuffer”

时间:2018-08-15 18:41:36

标签: ns2

我尝试在ns2-35中的文件myevalvid_sink.cc中添加一些代码,而我尝试制作此错误时出现此错误,有关代码中语法错误的任何想法。 谢谢

myvideo/myevalvid_sink.h:48: error: ISO C++ forbids declaration of ‘playbackbuffer’ with no type

myvideo/myevalvid_sink.h:48: error: expected ‘;’ before ‘*’ token

myvideo/myevalvid_sink.h: In constructor ‘myEvalvid_Sink::myEvalvid_Sink()’:

myvideo/myevalvid_sink.h:24: error: ‘plb’ was not declared in this scope

myvideo/myevalvid_sink.cc: In constructor ‘playbackbuffer::playbackbuffer(Packet*, int, double, myEvalvid_Sink*)’:



make: *** [myvideo/myevalvid_sink.o] Error 1

我遇到以下错误:

containerView?.setNeedsLayout()

0 个答案:

没有答案