STL std::random_shuffle behavior fails with lrand48

Arturus Magi sailorleo@isonews2.com
Sat Jul 31 13:25:00 GMT 2004


Jim Kleckner wrote:

> Version of cygwin is current (see attached file
> for all version stamps)
> gcc                     3.3.1-3
> gcc-g++                 3.3.1-3
> 
> version of gcc/g++ on Linux is 2.96.
> 
> The test program is attached as is cygcheck output.
> 
> To run it just type (note that -mno-cygwin is *not* used):
> g++ xxx.cpp
> ./a.exe
> 
> Is this a configuration issue?  Or does lrand48 not work?
> Or is it a long vs. int type mismatch?
> 

Try upgrading the version of gcc on the Linux box before comparing. 
There are a number of differences between gcc2 and gcc3 that may be 
affecting things.

--
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/



More information about the Cygwin mailing list