On Wed, Mar 12, 2025 at 12:53:55PM +0100, David Marchand wrote: > On Wed, Mar 12, 2025 at 2:53 AM Andre Muezerie > <andre...@linux.microsoft.com> wrote: > > > > When compiling "drivers" directory with MSVC the errors below popped up: > > > > drivers/rte_mempool_stack.pmd.c(1): error C2143: syntax error: > > missing ')' before '(' > > drivers/rte_mempool_stack.pmd.c(1): error C2059: syntax error: ')' > > drivers/rte_mempool_stack.pmd.c(1): error C2059: syntax error: ')' > > drivers/rte_mempool_stack.pmd.c(1): error C2143: syntax error: > > missing ')' before 'const' > > drivers/rte_mempool_stack.pmd.c(1): error C2091: function returns function > > > > The fix is to use common macros compatible with MSVC. > > > > Signed-off-by: Andre Muezerie <andre...@linux.microsoft.com> > > Out of curiosity, did you try dpdk-pmdinfo.py on generated binaries?
That script does not work on Windows. It depends on ldd and ELF binary format to extract info from the binary. I'll see what can be done there. > > > -- > David Marchand