Re: [PATCH] Make __attribute__ conditional in all installed headers

2017-05-02 Thread Mark Wielaard
On Thu, 2017-04-20 at 15:55 +0200, Ulf Hermann wrote: > __attribute__ is a GNU extension. If we want to link against the > libraries using a different compiler, it needs to be disabled. It was > already disabled in libdw.h, and this patch extends this to the other > headers. We move the defines to

[PATCH] Make __attribute__ conditional in all installed headers

2017-04-20 Thread Ulf Hermann
__attribute__ is a GNU extension. If we want to link against the libraries using a different compiler, it needs to be disabled. It was already disabled in libdw.h, and this patch extends this to the other headers. We move the defines to libelf.h as that is included in all the others. Signed-off-by