bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] math: Silence -Winclude-next-absolute-path warning.


From: Collin Funk
Subject: [PATCH] math: Silence -Winclude-next-absolute-path warning.
Date: Sat, 17 Feb 2024 00:36:44 -0800
User-agent: Mozilla Thunderbird

Hello. When compiling gettext from master I get the following warning:

./math.h:46:2: warning: #include_next in file found relative to primary source 
file or found by absolute path; will search from start of include path 
[-Winclude-next-absolute-path]
   46 | #include_next <math.h>

I've attached a patch that seems to fix this. I based it off the following two 
commits:

https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=f4fccf8efdd09d5e38f49f6ae1962797ce3e8e9c
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=2a5409cf2ac62ed273589c72bb8ae0031f06a219

Let me know if I missed anything. Thanks!

Collin

Attachment: 0001-math-Silence-Winclude-next-absolute-path-warning.patch
Description: Text Data


reply via email to

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