Skip to content

Commit

Permalink
[libpopt] Suppress implicit-function-declaration (#42662)
Browse files Browse the repository at this point in the history
  • Loading branch information
WangWeiLin-MV authored Dec 13, 2024
1 parent 294804f commit 3a7e5f1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ports/libpopt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ include_directories(${CMAKE_BINARY_DIR})
add_library(popt ${SOURCES})
if (MSVC)
target_compile_options(popt PRIVATE /wd4996)
else()
target_compile_options(popt PRIVATE -Wno-error=implicit-function-declaration)
endif()

install(TARGETS popt
Expand Down
2 changes: 1 addition & 1 deletion ports/libpopt/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libpopt",
"version": "1.16",
"port-version": 17,
"port-version": 18,
"description": "Library for parsing command line parameters",
"dependencies": [
{
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4986,7 +4986,7 @@
},
"libpopt": {
"baseline": "1.16",
"port-version": 17
"port-version": 18
},
"libpq": {
"baseline": "16.4",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libpopt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a2e2e626497005de88c4a6b1f8a1ff327386f271",
"version": "1.16",
"port-version": 18
},
{
"git-tree": "2f73cf4ebdadeac639e83a83e2acc8766ed597c3",
"version": "1.16",
Expand Down

0 comments on commit 3a7e5f1

Please sign in to comment.