Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Disable the maybe-uninitialized error in newer gcc #69

Merged
merged 3 commits into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ jobs:
- name: Setup node.js
uses: actions/[email protected]
with:
node-version: '16'
node-version: "16"
check-latest: true

- name: "Set up emsdk"
run: |
mkdir $HOME/emsdk
git clone --depth 1 https://github.com/emscripten-core/emsdk.git $HOME/emsdk
$HOME/emsdk/emsdk update-tags
$HOME/emsdk/emsdk install tot
$HOME/emsdk/emsdk activate tot
$HOME/emsdk/emsdk install 3.1.17
$HOME/emsdk/emsdk activate 3.1.17
echo "$HOME/emsdk" >> $GITHUB_PATH

- name: "Set up CMake"
Expand All @@ -34,7 +33,7 @@ jobs:
- name: Checkout project
uses: actions/checkout@v2
with:
submodules: 'recursive'
submodules: "recursive"

- name: "Build binaryen.es5.js"
run: |
Expand Down
388 changes: 194 additions & 194 deletions binaryen.es5.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_STATIC_LIB=ON
Expand All @@ -66,7 +66,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_STATIC_LIB=OFF
Expand Down Expand Up @@ -95,7 +95,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_STATIC_LIB=OFF
Expand All @@ -122,7 +122,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DCMAKE_SHARED_LIBRARY_PREFIX_CXX=lib
Expand Down