Skip to contentSkip to conversation

argparse: enable code to be compiled with MSVC compiler

PATCH Applied Andre Muezerie 4 participants 4 messages Nov 12, 2024 – Nov 19, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 argparse: enable code to be compiled with MSVC compiler

The issues that were preventing argparser from getting compiled with MSVC were fixed, so now it should not be excluded from the compilation anymore.

---
 lib/argparse/meson.build | 6 ------
 1 file changed, 6 deletions(-)
lib/argparse/meson.build +0 -6
index 8ab4c408ee..b6a08ca049 100644
@@ -1,12 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2024 HiSilicon Limited.
 
-if is_ms_compiler
-    build = false
-    reason = 'not supported building with Visual Studio Toolset'
-    subdir_done()
-endif
-
 sources = files('rte_argparse.c')
 headers = files('rte_argparse.h')
 
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 26 lines · Andre Muezerie

The issues that were preventing argparser from getting compiled with MSVC were fixed, so now it should not be excluded from the compilation anymore.

---
 lib/argparse/meson.build | 6 ------
 1 file changed, 6 deletions(-)
lib/argparse/meson.build +0 -6
index 8ab4c408ee..b6a08ca049 100644
@@ -1,12 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2024 HiSilicon Limited.
 
-if is_ms_compiler
-    build = false
-    reason = 'not supported building with Visual Studio Toolset'
-    subdir_done()
-endif
-
 sources = files('rte_argparse.c')
 headers = files('rte_argparse.h')
 
#3 lore raw
In reply to Andre Muezerie
Quoted 4 lines · Andre Muezerie

The issues that were preventing argparser from getting compiled with MSVC were fixed, so now it should not be excluded from the compilation anymore.

Just to be sure, it relates to fixes of bz 1409, right?

It's cool no new regression was introduced in the mean time. Enabling libraries the sooner is better for getting a larger MSVC support, I see no problem in taking this patch for rc3.

Quoted 2 lines
Signature · 1 line
David Marchand