I faced a compilation errors in files that have the function call rand_r.
Since I am trying to compile using .Net 2008, I believe its an stdlib
problem.
To get around this error, I have replaced all rand_r(seed) calls by
srand(*seed) followed by rand().
Even though I do not get any compilation errors now, I would like to
confirm if I've done the right thing. I understand the code is no longer
thread safe now.
Manika
Original issue reported on code.google.com by manika.p...@gmail.com on 11 Feb 2009 at 3:34
Original issue reported on code.google.com by
manika.p...@gmail.com
on 11 Feb 2009 at 3:34