Skip to content

Commit

Permalink
libnyquist: try defining register
Browse files Browse the repository at this point in the history
  • Loading branch information
mbekkomo committed Jan 18, 2025
1 parent d993781 commit 53b8895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ index 5a7d764..c461a75 100644
_disable_warning(4018)
endif()

+target_compile_options(libnyquist PRIVATE -Wno-error=deprecated-register)
+target_compile_options(libnyquist PRIVATE -Dregister=)
+
target_include_directories(libnyquist
PUBLIC
Expand Down
2 changes: 1 addition & 1 deletion packages/l/libnyquist/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package("libnyquist")
add_versions("2023.02.12", "767efd97cdd7a281d193296586e708490eb6e54f")

add_patches("2023.02.12", path.join(os.scriptdir(), "patches", "error-deprecated-register.patch"),
"26c42b9bdb1f173737b2348a3bf03c474dc2f31b05ca4bc2499587de1f7f1bce")
"1bbf8462e8d3fac5d9b533e59ee475165650c5f7d9439b46da9b6f5cf25dd40f")

add_deps("cmake")

Expand Down

0 comments on commit 53b8895

Please sign in to comment.