Skip to content

Commit

Permalink
解决部分错误
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 12, 2024
1 parent c55f574 commit e968289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
uses: microsoft/[email protected]
- name: Build
run: |
cd $GITHUB_WORKSPACE
cd %GITHUB_WORKSPACE%
.\make_win64.bat
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ if ( APPLE )
xcheck_add_c_compiler_flag(-Wshorten-64-to-32)
endif()

xcheck_add_c_compiler_flag(-Wno-unused-variable)

# MacOS and GCC 11 or later need -Wno-maybe-uninitialized
# https://github.com/quickjs-ng/quickjs/issues/453
if(APPLE AND CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 11)
Expand Down

0 comments on commit e968289

Please sign in to comment.