bug-gnulib
[Top][All Lists]
Advanced

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

Re: strtol, strtoul: Fix compilation error in C++ mode on Solaris 11


From: Paul Eggert
Subject: Re: strtol, strtoul: Fix compilation error in C++ mode on Solaris 11
Date: Fri, 2 Sep 2022 15:46:52 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

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 requiring each _GL_CXXALIASWARN caller to decide whether to worry about __GLIBC__?




reply via email to

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