Comment 5 for bug 1352836

Revision history for this message
Alan Modra (amodra) wrote :

So the upstream bug was closed as a dup of another bug, 61294. The fix for that bugzilla was to implement a new -Wmemset-transposed-args, and remove the memset warning from system headers (/usr/include/bits/string3.h). However, the glibc side of that fix has not yet been committed.

The alternatives then are
1) rip out the memset macro from string3.h and backport the 61294 fix to ubuntu gcc, if it isn't there already
2) don't compile okteta with -Wl,--fatal-warnings and ignore the false positive
3) don't compile okteta with -O3
4) modify core/bytearraymodel_p.cpp ByteArrayModelPrivate::fill, adding "if (fillLength != 0)" before the memset call.

If it were up to me, I'd go with (4).