From 3a7e5f11606ef9e901539b4d88c743fe79c09b52 Mon Sep 17 00:00:00 2001 From: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:13:20 +0000 Subject: [PATCH] [libpopt] Suppress implicit-function-declaration (#42662) --- 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 5fe6e69686d5ed..2123a5b4028c06 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4986,7 +4986,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",