Compile problem
[email protected] Fri, 19 Mar 2010 18:38:01 +0100
| Newsgroups | gmane.comp.mathematics.tochnog.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============1072749462015056793== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAC78A.EC6B644C" This is a multi-part message in MIME format. ------_=_NextPart_001_01CAC78A.EC6B644C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everybody, I'm trying to compile the code for Linux_old like ferney@linux-bou1: # make linux_old But I got an error message for the bounda.cc file: g++ -ansi -c -O2 -Wall bounda.cc bounda.cc: In function =91void bounda()=92: bounda.cc:45: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:46: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:73: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:83: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:178: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:179: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:180: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:181: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:182: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:264: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:265: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:279: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:412: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:413: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc:470: warning: deprecated conversion from string constant to = =91char*=92 bounda.cc: In function =91void bounda_time_file_apply(long int, double, = double*, long int&)=92: bounda.cc:482: error: =91strcpy=92 was not declared in this scope bounda.cc:483: error: =91strcat=92 was not declared in this scope make[1]: *** [bounda.o] Error 1 ____________________________________________ Does anybody have an idea what is going on and how to solve it? Thanks in advance, Ferney=20 ------_=_NextPart_001_01CAC78A.EC6B644C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7654.12"> <TITLE>Compile problem</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <BR> <P><FONT SIZE=3D2 FACE=3D"Century Gothic">Hi everybody,</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Century Gothic">I'm trying to compile the code = for Linux_old like</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Terminal">ferney@linux-bou1: # make = linux_old<I></I></FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Century Gothic">But I got an error message for = the bounda.cc file:</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Terminal">g++ -ansi -c -O2 = -Wall bounda.cc</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc: In function ‘void = bounda()’:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:45: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:46: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:73: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:83: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:178: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:179: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:180: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:181: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:182: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:264: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:265: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:279: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:412: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:413: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:470: warning: deprecated = conversion from string constant to ‘char*’</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc: In function ‘void = bounda_time_file_apply(long int, double, double*, long = int&)’:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:482: error: = ‘strcpy’ was not declared in this scope</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">bounda.cc:483: error: = ‘strcat’ was not declared in this scope</FONT> <BR><FONT SIZE=3D2 FACE=3D"Terminal">make[1]: *** [bounda.o] Error = 1</FONT> <BR><SPAN LANG=3D"es-co"><FONT SIZE=3D2 = FACE=3D"Arial">____________________________________________</FONT></SPAN>= </P> <P><SPAN LANG=3D"es-co"><FONT SIZE=3D2 FACE=3D"Arial">Does anybody have = an idea what is going on and how to solve it?</FONT></SPAN> </P> <P><SPAN LANG=3D"es-co"><FONT SIZE=3D2 FACE=3D"Arial">Thanks in = advance,</FONT></SPAN> </P> <BR> <P><SPAN LANG=3D"es-co"><FONT SIZE=3D2 FACE=3D"Arial">Ferney = </FONT></SPAN> </P> <BR> <BR> </BODY> </HTML> ------_=_NextPart_001_01CAC78A.EC6B644C-- --===============1072749462015056793== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --===============1072749462015056793== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tochnog-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tochnog-users --===============1072749462015056793==--