www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/07/12:52:59

From: "merser" <merser AT image DOT dk>
To: "DJGPP" <djgpp AT delorie DOT com>
Subject: GCC 2.8.0 installation nearly works
Date: Tue, 7 Apr 1998 18:52:44 +0200
Message-ID: <01bd6245$95c011a0$0ca9eac2@Image>
MIME-Version: 1.0

This is a multi-part message in MIME format.

------=_NextPart_000_0037_01BD6256.5948E1A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Linking with stdcxx did help a lot, since several programs compile and =
run well.But recompile / relinking other programs gives an error =
message.
This also when I compile / link from within RHIDE.

First the makefile:
XLIBS=3D-lstdcxx
heap.exe : heap.o
     gcc -fsjlj-exceptions -o heap.exe heap.o ${XLIBS}
heap.o : heap.cc
     g++ -c -fsjlj-exceptions heap.cc

Then the error message:
In file included from c:/djgpp/lang/cxx/new.h:6,
                 from c:/djgpp/lang/cxx/stlalgobase.h:52,
                 from c:/djgpp/lang/cxx/vector:30,
                 from heap.cc:5:
c:/djgpp/lang/cxx/std/new.h:26: warning: declaration of `operator =
delete(void *)' throws different exceptions
<internal>:26: warning: previous declaration here
c:/djgpp/lang/cxx/std/new.h:27: warning: declaration of `operator delete =
[](void *)' throws different exceptions
<internal>:27: warning: previous declaration here
c:/djgpp/lang/cxx/stl_algo.h: In function `void __random_shuffle<float =
*, int>(float *, float *, int *)':
c:/djgpp/lang/cxx/stl_algo.h:617: `lrand48' undeclared (first use this =
function)
c:/djgpp/lang/cxx/stl_algo.h:617: (Each undeclared identifier is =
reported only once
c:/djgpp/lang/cxx/stl_algo.h:617: for each function it appears in.)
make.exe: *** [heap.o] Error 1

------=_NextPart_000_0037_01BD6256.5948E1A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Linking with stdcxx did help a lot, =
since=20
several programs compile and run well.But recompile / relinking other =
programs=20
gives an error message.</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>This also when I compile / link from =
within=20
RHIDE.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>First the makefile:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>XLIBS=3D-lstdcxx<BR>heap.exe :=20
heap.o<BR>&nbsp;&nbsp;&nbsp;&nbsp; gcc -fsjlj-exceptions -o heap.exe =
heap.o=20
${XLIBS}</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>heap.o : =
heap.cc<BR>&nbsp;&nbsp;&nbsp;&nbsp; g++=20
-c -fsjlj-exceptions heap.cc</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Then the error message:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>In file included from=20
c:/djgpp/lang/cxx/new.h:6,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
c:/djgpp/lang/cxx/stlalgobase.h:52,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
c:/djgpp/lang/cxx/vector:30,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from heap.cc:5:<BR>c:/djgpp/lang/cxx/std/new.h:26: warning: declaration =
of=20
`operator delete(void *)' throws different =
exceptions<BR>&lt;internal&gt;:26:=20
warning: previous declaration here<BR>c:/djgpp/lang/cxx/std/new.h:27: =
warning:=20
declaration of `operator delete [](void *)' throws different=20
exceptions<BR>&lt;internal&gt;:27: warning: previous declaration=20
here<BR>c:/djgpp/lang/cxx/stl_algo.h: In function `void=20
__random_shuffle&lt;float *, int&gt;(float *, float *, int=20
*)':<BR>c:/djgpp/lang/cxx/stl_algo.h:617: `lrand48' undeclared (first =
use this=20
function)<BR>c:/djgpp/lang/cxx/stl_algo.h:617: (Each undeclared =
identifier is=20
reported only once<BR>c:/djgpp/lang/cxx/stl_algo.h:617: for each =
function it=20
appears in.)<BR>make.exe: *** [heap.o] Error =
1</FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0037_01BD6256.5948E1A0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019