Linux gcc编译错误

Linux gcc编译错误,linux,Linux,当我用这个命令编译sim_routing.cc程序时,我遇到了这些错误 ../../bin/cxx sim_routing.cc g++ -Wall -o sim_routing sim_routing.cxx 产生以下错误: ../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*); error : there are no argument to

当我用这个命令编译sim_routing.cc程序时,我遇到了这些错误

../../bin/cxx sim_routing.cc
g++ -Wall -o sim_routing sim_routing.cxx
产生以下错误:

../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);
error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.
error : <if you use -fpermissive  g++ will accept your code but allowing use of undeclared name is deprecated>
。/../common/priority_q.h:在成员函数'bool guaredqueue::Validate(Const char*)中;
错误:“strcat”没有依赖于模板参数的参数,因此“strcat”的声明必须可用。
错误:
当我试图更改commom/priority_q.h时,它显示为只读;无法接受文件更改

如何删除这些错误?

#在触发错误的标题之前包含