CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Hardware

fpermissive error of gcc in cygwin

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2011, 04:22
Default fpermissive error of gcc in cygwin
  #1
New Member
 
deswal
Join Date: Apr 2011
Posts: 1
Rep Power: 0
deswal is on a distinguished road
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.
deswal is offline   Reply With Quote

Reply

Tags
cygwin, gcc


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Patches for OpenFOAM 1.7 on MacOS X gschaider OpenFOAM Installation 101 September 21, 2011 06:37
Conflicting installations for gcc fbisetti OpenFOAM Installation 16 October 5, 2007 03:23
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 16:49
FOAM installation error gcc amp g hanks OpenFOAM Installation 9 January 26, 2006 15:14
Gerris software installation mer Main CFD Forum 2 November 12, 2005 09:50


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