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