From: pavenis AT lanet DOT lv To: "Randy Maddox" 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: X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 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 > > 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