Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cielavenir committed Apr 6, 2022
1 parent b38fb6d commit 5bbfba0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
mkdir -p bin/Codecs
make -C CPP/7zip/Bundles/Alone2 -f ../../cmpl_clang_x64.mak mkdir && make -C CPP/7zip/Bundles/Alone2 -f ../../cmpl_clang_x64.mak -j16
cp CPP/7zip/Bundles/Alone2/b/c_x64/7zz bin/
make -C C/Util/7z -f ../../../CPP/7zip/cmpl_clang_x64.mak && make -C C/Util/7z -f ../../../CPP/7zip/cmpl_clang_x64.mak -j16
cp C/Util/7z/b/c_x64/7zdec bin/
- name: Build (macOS)
if: ${{ matrix.os == 'macos-latest' }}
run: |
Expand Down
17 changes: 11 additions & 6 deletions C/warn_gcc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CFLAGS_WARN_GCC_6 = \
-Winit-self \
-Wint-to-pointer-cast \
-Wunused \
-Wunused-macros \

# -Wno-strict-aliasing

Expand All @@ -24,28 +23,34 @@ CFLAGS_WARN_GCC_9 = \
-Wattributes \
-Wbool-compare \
-Wbool-operation \
-Wcast-align \
-Wcast-align=strict \
-Wcomment \
-Wdangling-else \
-Wdiv-by-zero \
-Wduplicated-branches \
-Wduplicated-cond \
-Wformat-contains-nul \
-Wimplicit-fallthrough=5 \
-Wimplicit-fallthrough=3 \
-Winit-self \
-Wint-in-bool-context \
-Wint-to-pointer-cast \
-Wunused \
-Wunused-macros \
-Wconversion \

# -Wcast-align \
# -Wcast-align=strict \
# -Wunused-macros \
# -Wconversion \
# -Wno-sign-conversion \

CFLAGS_WARN_GCC_10 = $(CFLAGS_WARN_GCC_9) \
-Wmaybe-uninitialized \
-Wmisleading-indentation \

CFLAGS_WARN_GCC_PPMD_UNALIGNED = \
-Wno-strict-aliasing \


CFLAGS_WARN = $(CFLAGS_WARN_GCC_9) \

# $(CFLAGS_WARN_GCC_PPMD_UNALIGNED)


0 comments on commit 5bbfba0

Please sign in to comment.