delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/21/02:00:53

Date: Wed, 21 Nov 2001 08:37:44 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: Randy Maddox <rmaddox AT isicns DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Problem report
In-Reply-To: <000b01c171fb$270bcfa0$3502a8c0@nancy>
Message-ID: <Pine.A41.4.05.10111210829380.41576-100000@ieva06>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Tue, 20 Nov 2001, Randy Maddox wrote:

> Got the following compiler error message about an undeclared identifier in
> an STL internal header file and DJ asked me to post it here.
> 
> C:/djgpp/lang/cxx-v3/bits/stl_algo.h: In function `_Distance 
>    std::__random_number(_Distance) [with _Distance = int]':
> C:/djgpp/lang/cxx-v3/bits/stl_algo.h:1142:   instantiated from `void
> std::random_shuffle(_RandomAccessIter, _RandomAccessIter) [with
> _RandomAccessIter = int*]'
> testArray.cpp:573:   instantiated from here
> C:/djgpp/lang/cxx-v3/bits/stl_algo.h:1123: `lrand48' undeclared (first use
> this 
>    function)
> C:/djgpp/lang/cxx-v3/bits/stl_algo.h:1123: (Each undeclared identifier is 
>    reported only once for each function it appears in.)	
> 
> Keep up the good work!  Real tools for real developers.  I love it.
> 

Which DJGPP version do You have?

lrand48 is available in djdev203.zip (include/stdlib.h). Upgrade if You
have any earlier version. If You already have 2.03 than post minimal
example which shows this problem.

Andris

- Raw text -


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