You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Use RAND_MAX on a code
2. Run c2cu
3. RAND_MAX is replaced with the RAND_MAX on the compiler machine
4. Move the code to another machine
5. Run the code
What is the expected output? What do you see instead?
The results will be different, because of different values of RAND_MAX in
different architectures.
Possible solution:
a) Preserve #define and #include instead of using a preprocessor.
b) Write our own preprocessor
c) Use const (C99?)
Original issue reported on code.google.com by namiurtf on 22 Apr 2010 at 9:53
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
namiurtf
on 22 Apr 2010 at 9:53The text was updated successfully, but these errors were encountered: