mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
filemem: fix fwrite()
return check in fm_write()
;
test `ferror()` also in `fm_err()` if `err` zero and file NetBSD: add instructions and some workarounds (`getopt_long_only()` in particular) qzint: check `__GNUC__` version for "-Wstringop-truncation" suppression
This commit is contained in:
parent
98f86727cc
commit
3950b49050
12 changed files with 64 additions and 29 deletions
|
@ -464,7 +464,7 @@ namespace Zint {
|
|||
memset(m_structapp.id, 0, sizeof(m_structapp.id));
|
||||
if (!id.isEmpty()) {
|
||||
QByteArray idArr = id.toLatin1();
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#if defined(__GNUC__) && __GNUC__ >= 8 && !defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-truncation"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue