shixuansun / back40computing

Automatically exported from code.google.com/p/back40computing
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

compiler warning #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

code snippet:

    b40c::radix_sort::Enactor sort_enactor;
    b40c::util::PingPongStorage<unsigned int, Scalar4> sort_storage(d_keys,d_values);
    sort_enactor.Sort(sort_storage, N);

What is the expected output? What do you see instead?
I get lots of compiler warnings

.../b40c/radix_sort/enactor.cuh:529:40: warning: suggest parentheses around 
assignment used as truth value

also for similar lines in enactor_base.h  etc.

What version of the product are you using? On what operating system?
r603 

Please provide any additional information below.

Original issue reported on code.google.com by jens.gla...@gmail.com on 9 Jul 2011 at 3:21