swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wierd random number behavior


From: Theodore C. Belding
Subject: Re: wierd random number behavior
Date: Tue, 20 Apr 1999 00:07:23 -0400 (EDT)

Hi Paul-
Two things you might try:

1) Make sure that you're including all of the necessary header files, so
that your program knows what the return type of the random number
generator is (sorry -- I don't have your original email anymore to check
this myself). 

2) Enable all warnings in gcc (again, you might already be doing this)
using -Wall -Wno-import.
 
3) Try compiling your program with egcs 1.x.x or with gcc 2.7.2.x.  It
might be a compiler bug in gcc 2.8.1. (The egcs team has taken over
maintenance of gcc, so hopefully gcc 2.8.x will soon be worth using again.
Currently, it's not.)

Hope that helps.
-Ted

--
Ted Belding                               address@hidden 
University of Michigan Program for the Study of Complex Systems
Homepage: http://www-personal.umich.edu/~streak/
PGP key:  http://www-personal.umich.edu/~streak/pgp-key.html




                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]