01-17-2017, 01:34 AM
(This post was last modified: 01-17-2017, 01:35 AM by Seadragon91.)
I tested clang UB and it shows warnings.
Examples:
src/Noise/Noise.h:225:16: runtime error: signed integer overflow: 511 * 1423092208 cannot be represented in type 'int'
src/Noise/Noise.h:236:9: runtime error: left shift of negative value -2052869158
Don't know if they are a problem or not.
Examples:
src/Noise/Noise.h:225:16: runtime error: signed integer overflow: 511 * 1423092208 cannot be represented in type 'int'
src/Noise/Noise.h:236:9: runtime error: left shift of negative value -2052869158
Don't know if they are a problem or not.