delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <410F4984.E4FB59@hot.pl> |
Date: | Tue, 03 Aug 2004 10:15:00 +0200 |
From: | Jacek Trzmiel <sc0rp AT hot DOT pl> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: STL std::random_shuffle behavior fails with lrand48 (workaround) |
References: | <410AEF64 DOT 90409 AT kleckner DOT net> <410B038D DOT 5010507 AT isonews2 DOT com> <410EB9A2 DOT 5020701 AT kleckner DOT net> |
X-IsSubscribed: | yes |
> If someone else could demonstrate that > the bug exists on other platforms, I would > be grateful. I've compiled and run code from: http://cygwin.com/ml/cygwin/2004-07/msg01118.html on Cygwin and FreeBSD machine: cygwin1.dll snapshot 20040720-12:03:09: $ g++ --version g++ (GCC) 3.3.1 (cygming special) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ g++ -o lr lr.cpp $ ./lr changes before: 0 1 2 3 4 5 6 changes after: 6 0 1 2 3 4 5 changes after: 5 6 0 1 2 3 4 changes after: 4 5 6 0 1 2 3 FreeBSD 5.2: $ g++ --version g++ (GCC) 3.3.3 [FreeBSD] 20031106 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ g++ -o lr lr.cpp $ ./lr changes before: 0 1 2 3 4 5 6 changes after: 1 5 6 4 3 2 0 changes after: 5 3 0 4 2 1 6 changes after: 1 6 4 5 0 3 2 Regards, Jacek. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |