freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pooma-dev] Problems Compiling Pooma 2 with gcc snapshot date d 5/2


From: James Crotinger
Subject: RE: [pooma-dev] Problems Compiling Pooma 2 with gcc snapshot date d 5/27/01
Date: Wed, 13 Jun 2001 12:30:53 -0700

Did you look at GCC's string.h? memcpy should be declared in there. If not, I think this is a GCC bug.

        Jim


> -----Original Message-----
> From: Dave Nystrom [mailto:address@hidden]
> Sent: Wednesday, June 13, 2001 1:13 PM
> To: James Crotinger
> Cc: 'Dave Nystrom'; pooma-dev; Don Marshall
> Subject: RE: [pooma-dev] Problems Compiling Pooma 2 with gcc snapshot
> date d 5/27/01
>
>
> Hi Jim,
>
> Thanks.  I tried your change and I still get the same result
> - failed compile
> with the same error message.
>
> Dave Nystrom                  email: address@hidden
> LANL X-3                      phone: 505-667-7913     fax:
> 505-665-3046
>
> James Crotinger writes:
>  > Dave, try again. Ambro had put
>  >
>  > extern "C" {
>  > #include <string.h>
>  > }
>  >
>  > in two of the files in that directory, and that may have
> been causing a
>  > problem. If this doesn't fix it, then it sounds like a GCC
> problem since
>  > memcpy is supposed to be in string.h.
>  >
>  >    Jim
>  >
>  > > -----Original Message-----
>  > > From: Dave Nystrom [mailto:address@hidden]
>  > > Sent: Wednesday, June 13, 2001 11:38 AM
>  > > To: pooma-dev
>  > > Cc: Don Marshall
>  > > Subject: [pooma-dev] Problems Compiling Pooma 2 with gcc
>  > > snapshot dated
>  > > 5/27/01
>  > >
>  > [...]
>  >
>  > > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
>  > > ers.h: In
>  > >    function `int streamOut(char*&, const T&) [with T = int]':
>  > > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
>  > > ers.h:133:   instantiated from `int serialize(Stream&, const
>  > > T&) [with Stream = ch
>  > > ar*, T = int]'
>  > > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
>  > ers.cmpl.cpp:111:   instantiated from > here
>  > > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
>  > > ers.h:71: `memcpy'
>  > >    undeclared (first use this function)
>  > > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
>  > > ers.h:71: (Each
>  > >    undeclared identifier is reported only once for each
>  > > function it appears
>  > >    in.)
>  > >
>  > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
>  > <HTML>
>  > <HEAD>
>  > <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
> charset=iso-8859-1">
>  > <META NAME="Generator" CONTENT="MS Exchange Server version
> 5.5.2650.12">
>  > <TITLE>RE: [pooma-dev] Problems Compiling Pooma 2 with gcc
> snapshot dated 5/27/01</TITLE>
>  > </HEAD>
>  > <BODY>
>  >
>  > <P><FONT SIZE=2>Dave, try again. Ambro had put</FONT>
>  > </P>
>  >
>  > <P><FONT SIZE=2>extern &quot;C&quot; {</FONT>
>  > <BR><FONT SIZE=2>#include &lt;string.h&gt;</FONT>
>  > <BR><FONT SIZE=2>}</FONT>
>  > </P>
>  >
>  > <P><FONT SIZE=2>in two of the files in that directory, and
> that may have been causing a problem. If this doesn't fix it,
> then it sounds like a GCC problem since memcpy is supposed to
> be in string.h.</FONT></P>
>  >
>  > <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT
> SIZE=2>Jim</FONT>
>  > </P>
>  >
>  > <P><FONT SIZE=2>&gt; -----Original Message-----</FONT>
>  > <BR><FONT SIZE=2>&gt; From: Dave Nystrom [<A
> HREF="" href="mailto:address@hidden">mailto:address@hidden">mailto:address@hidden</A>]</FONT>
>  > <BR><FONT SIZE=2>&gt; Sent: Wednesday, June 13, 2001 11:38
> AM</FONT>
>  > <BR><FONT SIZE=2>&gt; To: pooma-dev</FONT>
>  > <BR><FONT SIZE=2>&gt; Cc: Don Marshall</FONT>
>  > <BR><FONT SIZE=2>&gt; Subject: [pooma-dev] Problems
> Compiling Pooma 2 with gcc </FONT>
>  > <BR><FONT SIZE=2>&gt; snapshot dated</FONT>
>  > <BR><FONT SIZE=2>&gt; 5/27/01</FONT>
>  > <BR><FONT SIZE=2>&gt; </FONT>
>  > <BR><FONT SIZE=2>[...]</FONT>
>  > </P>
>  >
>  > <P><FONT SIZE=2>&gt;
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
>  > <BR><FONT SIZE=2>&gt; ers.h: In </FONT>
>  > <BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; function `int
> streamOut(char*&amp;, const T&amp;) [with T = int]':</FONT>
>  > <BR><FONT SIZE=2>&gt;
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
>  > <BR><FONT SIZE=2>&gt; ers.h:133:&nbsp;&nbsp; instantiated
> from `int serialize(Stream&amp;, const </FONT>
>  > <BR><FONT SIZE=2>&gt; T&amp;) [with Stream = ch</FONT>
>  > <BR><FONT SIZE=2>&gt; ar*, T = int]'</FONT>
>  > <BR><FONT SIZE=2>&gt;
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
>  > <BR><FONT SIZE=2>ers.cmpl.cpp:111:&nbsp;&nbsp;
> instantiated from &gt; here</FONT>
>  > <BR><FONT SIZE=2>&gt;
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
>  > <BR><FONT SIZE=2>&gt; ers.h:71: `memcpy'</FONT>
>  > <BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; undeclared (first
> use this function)</FONT>
>  > <BR><FONT SIZE=2>&gt;
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
>  > <BR><FONT SIZE=2>&gt; ers.h:71: (Each </FONT>
>  > <BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; undeclared
> identifier is reported only once for each </FONT>
>  > <BR><FONT SIZE=2>&gt; function it appears </FONT>
>  > <BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; in.)</FONT>
>  > <BR><FONT SIZE=2>&gt; </FONT>
>  > </P>
>  >
>  > </BODY>
>  > </HTML>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]