Date: Wed, 21 Nov 2001 08:37:44 +0200 (WET) From: Andris Pavenis X-Sender: pavenis AT ieva06 To: Randy Maddox Cc: djgpp AT delorie DOT com Subject: Re: Problem report In-Reply-To: <000b01c171fb$270bcfa0$3502a8c0@nancy> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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