Open Corin-EU opened 2 years ago
overflows lead to undefined behavior
The only way to fix this is by using the designated initializer syntax. But this would require C99 which would break the build for one of our WindowsXP contributors.
One could take care of the pedantic warnings, yes. But I don't see a benefit in spending time on that.
When building libinstpatch v1.1.6 with gcc (SUSE Linux) 7.5.0 (no custom CFLAGS used) I see lots of warning messages.
Now I know that warnings are warnings and not errors, but this one in particular because it mentions "overflow", and overflows lead to undefined behavior, should at least be considered for attenton.