git: libnvmm: Revert unneeded '-Wdangling-pointer' #pragma diagnostic
Aaron LI
aly at crater.dragonflybsd.org
Mon May 25 01:34:07 PDT 2026
commit 7b7fb99bddde8ded0bee8f43df4026ca02be0938
Author: Aaron LI <aly at aaronly.me>
Date: Mon May 25 16:29:22 2026 +0800
libnvmm: Revert unneeded '-Wdangling-pointer' #pragma diagnostic
The in-base GCC 12.5 does not give such warnings, so just revert this
unneeded #pragma hack added in commit
bdbecb468706b0d4afd30f9aeb119c342f6f4e29.
In addition, we don't really like such #pragma hacks all over the place;
better to identify the cause and fix the code or adjust the warning
flags to suppress false positives.
Summary of changes:
lib/libnvmm/libnvmm_x86.c | 20 --------------------
1 file changed, 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b7fb99bddde8ded0bee8f43df4026ca02be0938
--
DragonFly BSD source repository
More information about the Commits
mailing list