delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/21/09:08:16

From: pavenis AT lanet DOT lv
To: "Randy Maddox" <rmaddox AT isicns DOT com>
Date: Wed, 21 Nov 2001 16:06:12 +0200
MIME-Version: 1.0
Subject: RE: Problem report
Cc: djgpp AT delorie DOT com
Message-ID: <3BFBD0F4.1543.1687FCF@localhost>
In-reply-to: <000a01c17294$09b5a4f0$3502a8c0@nancy>
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10111210829380 DOT 41576-100000 AT ieva06>
X-mailer: Pegasus Mail for Windows (v4.01)
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 21 Nov 2001 at 8:54, Randy Maddox wrote:

> Andris,
> 
> Here you go.  First is the compiler output in verbose mode:
> 

Please check whether You have prototype of lrand48 in 
include/stdlib.h (it's there beginning with DJGPP v2.03)
 
> And here is the program that generated that output:
> 
> // sample to demonstrate DJGPP header problem
> 
> #include <algorithm>
> 
> int main()
> {
>   int    data[] = {1, 2, 3, 4, 5, 6};
> 
>   std::random_shuffle(&data[0], &data[5]);
> 
>   return 0;
> }
> 

Compiles Ok for me (both DJGPP v2.03 and current CVS)

Andris



- Raw text -


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