CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Hardware (https://www.cfd-online.com/Forums/hardware/)
-   -   fpermissive error of gcc in cygwin (https://www.cfd-online.com/Forums/hardware/87258-fpermissive-error-gcc-cygwin.html)

deswal April 15, 2011 03:22

fpermissive error of gcc in cygwin
 
I am using cygwin
I am getting these errors when i compile sim_routing.cc program by this command
../../bin/cxx sim_routing.cc
g++ -Wall -o sim_routing sim_routing.cxx
following errors comes
../../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>
error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible.
how these errors can be removed.


All times are GMT -4. The time now is 11:10.