bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] make gl_VISIBILITY to reject unsupported configurations with


From: Bruno Haible
Subject: Re: [PATCH] make gl_VISIBILITY to reject unsupported configurations with newer gcc
Date: Wed, 26 May 2021 01:54:59 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; )

Hi,

Ozkan Sezer wrote:
> The attached patch makes gl_VISIBILITY to reject unsupported configurations
> with newer gcc: In its current form, mingw gcc-4.5.4 rejects the attributes
> but gcc-7.5 does not, apparently because the attributes are applied to func
> prototypes without their definitions.  Attaching a hidden visibility attrib
> to dummyfunc() makes gcc-7.5 to reject it properly.

I don't fully understand why we should apply the patch.

With gcc 7.5 on mingw and the visibility.m4 that is in gnulib now:
What is the result of the
  checking for simple visibility declarations...
test? What are the effects: warnings? compilation errors? link errors? too
many exported symbols? too few exported symbols?

Maybe you also have a test case, that you could show?

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]