bug-make
[Top][All Lists]
Advanced

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

Fix gcc SIZE_MAX redefined warnings.


From: Collin Funk
Subject: Fix gcc SIZE_MAX redefined warnings.
Date: Sat, 6 Apr 2024 19:57:29 -0700
User-agent: Mozilla Thunderbird

When compiling GNU Make from git master I get warnings that SIZE_MAX
is redefined. This patch fixes it.

This macro is defined by glibc in stdint.h/inttypes.h but
src/makeint.h checks for it after including limits.h.

I've just placed these headers under limits.h before any *_MIN, *_MAX,
etc. macros are checked. Feel free to reorder things if you'd like.

Collin

Attachment: 0001-Fix-gcc-SIZE_MAX-redefined-warnings.patch
Description: Text Data


reply via email to

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