Skip to content

Commit

Permalink
ltrace: Add -Wno-unused-local-typedefs
Browse files Browse the repository at this point in the history
Add option to ignore the following issue:

    source/value.c:287:15: error: typedef 'assert__long_enough_long' locally defined but not used [-Werror=unused-local-typedefs]
    typedef char assert__long_enough_long[-(sizeof(l) < sizeof(void *))];
                 ^~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
  • Loading branch information
donald committed Sep 23, 2019
1 parent ae3640d commit ef665c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ltrace.be0
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ SRCURL[0]="https://www.ltrace.org/ltrace_${PKGVERSION}.orig.tar.bz2"
#}

mee_build() {
bee_build CFLAGS='-Wno-deprecated-declarations -Wno-bool-compare'
bee_build CFLAGS='-Wno-deprecated-declarations -Wno-bool-compare -Wno-logical-not-parentheses \
-Wno-unused-local-typedefs'
}

#mee_install() {
Expand Down

0 comments on commit ef665c0

Please sign in to comment.