Re: [dpdk-dev] [PATCH 10/10] test: fix global variable multiple definitions

2019-09-05 Thread Honnappa Nagarahalli
> > Multiple global variable are defined in multiple unit test files with same > name, but all unit test files are linked into single executable, which means > those variables share same storage which is not the intention, fixed by > making global variables 'static'. > > Issue has been detected

[dpdk-dev] [PATCH 10/10] test: fix global variable multiple definitions

2019-09-05 Thread Ferruh Yigit
Multiple global variable are defined in multiple unit test files with same name, but all unit test files are linked into single executable, which means those variables share same storage which is not the intention, fixed by making global variables 'static'. Issue has been detected by '-fno-common'