Re: [PATCH] debuginfod: fix compilation on platforms without

2021-11-11 Thread Mark Wielaard
Hi Érico, On Wed, Nov 10, 2021 at 09:17:48PM -0300, Érico Nogueira via Elfutils-devel wrote: > "system.h" only declares the error() function, so it needs to be in an > 'extern "C"' block, otherwise linking fails. > > Since we are here, use quotes for "system.h" header, since it's a local > heade

[PATCH] debuginfod: fix compilation on platforms without

2021-11-10 Thread Érico Nogueira via Elfutils-devel
From: Érico Nogueira "system.h" only declares the error() function, so it needs to be in an 'extern "C"' block, otherwise linking fails. Since we are here, use quotes for "system.h" header, since it's a local header, not a system one. Signed-off-by: Érico Nogueira --- debuginfod/ChangeLog

[PATCH] debuginfod: fix compilation on platforms without

2021-11-10 Thread Érico Nogueira via Elfutils-devel
From: Érico Nogueira "system.h" only declares the error() function, so it needs to be in an 'extern "C"' block, otherwise linking fails. Since we are here, use quotes for "system.h" header, since it's a local header, not a system one. Signed-off-by: Érico Nogueira --- debuginfod/ChangeLog