Re: GLPK remove warning about redefinition of SIZE_T_MAX

Andrew Makhorin <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
On Wed, 2018-06-13 at 14:05 +0200, Christopher Zimmermann wrote:
> Hello,
> 
> clang on OpenBSD warns about redefinition of SIZE_T_MAX in env.h.
> You may consider protecting the definition by
> #if !defined(SIZE_T_MAX).
> 
> Thanks,
> Christopher
> 
> 
> 

Thank you for your suggestion. However, SIZE_T_MAX is neither a standard
macro nor reserved one (according to the ISO C Standard), so it should
*not* be defined in the standard library headers.


Andrew Makhorin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.