diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-07-30 22:22:52 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-07-30 22:22:52 (EDT) |
commit | 8042464eb99542c9421a98cce16164a55d0766ac (patch) | |
tree | a2ffc440b550ca127f3e1f70d069a9de9d2d647c /tests/pkg/control | |
parent | bdc69e3dedf933808062141c999b4ec5531a7e00 (diff) |
opk/read: Only ignore analyzer warnings in new GCC
https://gcc.gnu.org/wiki/StaticAnalyzer
Fixes the following warnings with older GCC versions:
opkg-opk/opk/read.c: In function ‘_opkg_opk_opk_read_control’:
opkg-opk/opk/read.c:159:5: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:187:6: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:198:5: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:222:6: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:265:5: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:282:6: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:290:35: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
# pragma GCC diagnostic ignored "-Wanalyzer-file-leak"
^~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:300:5: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opkg-opk/opk/read.c:313:4: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
"-Wanalyzer-use-of-uninitialized-value"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'tests/pkg/control')
0 files changed, 0 insertions, 0 deletions