qca / open-plc-utils

Qualcomm Atheros Open Powerline Toolkit.
Other
351 stars 154 forks source link

plc/plc.h: fix build with gcc 10 #141

Closed ffontaine closed 3 years ago

ffontaine commented 3 years ago

Drop plcproperty from plc/plc.h to avoid the following build failure with gcc 10 (which defaults to -fno-common):

/home/buildroot/autobuild/run/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: rules.o:(.bss+0x0): multiple definition of `plcproperty'; pibruin.o:(.bss+0x0): first defined here

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

ffontaine commented 3 years ago

Done

n1000 commented 3 years ago

Thanks, merged!