Paul Eggert wrote:
> > +# if __GLIBC__ >= 2
> > _GL_CXXALIASWARN (strtol);
> > +# endif
>
> Would it make sense to move the __GLIBC__ >= 2 check into
> _GL_CXXALIASWARN so that we needn't worry about making these sorts of
> patches? How much benefit to non-glibc ports do we obtain from
On 9/2/22 13:37, Bruno Haible wrote:
+# if __GLIBC__ >= 2
_GL_CXXALIASWARN (strtol);
+# endif
Would it make sense to move the __GLIBC__ >= 2 check into
_GL_CXXALIASWARN so that we needn't worry about making these sorts of
patches? How much benefit to non-glibc ports do we obtain from
' in the declaration makes a difference in C++.
This patch fixes it.
2022-09-02 Bruno Haible
strtol, strtoul: Fix compilation error in C++ mode on Solaris 11.
* lib/stdlib.in.h (strtol, strtoul): Enable the C++ alias warning only
on glibc systems.
diff --git a/lib