From f1e5bd442509a78e7457e4f550f0651631984d98 Mon Sep 17 00:00:00 2001 From: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com> Date: Thu, 12 Dec 2024 07:54:14 +0000 Subject: [PATCH] [libpopt] Suppress implicit-function-declaration --- ports/libpopt/CMakeLists.txt | 2 ++ ports/libpopt/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/l-/libpopt.json | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ports/libpopt/CMakeLists.txt b/ports/libpopt/CMakeLists.txt index 5d0bbc829609ea..c6c3b8d0af4575 100644 --- a/ports/libpopt/CMakeLists.txt +++ b/ports/libpopt/CMakeLists.txt @@ -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 diff --git a/ports/libpopt/vcpkg.json b/ports/libpopt/vcpkg.json index c9b1e8213365ac..9b0d106de6764c 100644 --- a/ports/libpopt/vcpkg.json +++ b/ports/libpopt/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libpopt", "version": "1.16", - "port-version": 17, + "port-version": 18, "description": "Library for parsing command line parameters", "dependencies": [ { diff --git a/versions/baseline.json b/versions/baseline.json index 22aa8d9d448912..0377ca173698a8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4990,7 +4990,7 @@ }, "libpopt": { "baseline": "1.16", - "port-version": 17 + "port-version": 18 }, "libpq": { "baseline": "16.4", diff --git a/versions/l-/libpopt.json b/versions/l-/libpopt.json index 03874d3c35a67a..104c26dcccf566 100644 --- a/versions/l-/libpopt.json +++ b/versions/l-/libpopt.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a2e2e626497005de88c4a6b1f8a1ff327386f271", + "version": "1.16", + "port-version": 18 + }, { "git-tree": "2f73cf4ebdadeac639e83a83e2acc8766ed597c3", "version": "1.16",