]> Savannah Git Hosting - gnulib.git/commit
Port __has_c_attribute to strict C23
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Dec 2022 05:45:18 +0000 (21:45 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Dec 2022 05:46:20 +0000 (21:46 -0800)
commit4f6131a7865e3558184f5d1c8b308395640d802e
treea3ad45a0dea20b0a9ed8733f351897955bf1cbd5
parentee37744d13296e139b99720c1cf3ea5eed25bfbf
Port __has_c_attribute to strict C23

* m4/gnulib-common.m4 (_GL_HAS_C_ATTRIBUTE): Remove, as C23 says
behavior is undefined if __has_c_attribute appears anywhere other
than at the top level of an #if or #ifdef.  All uses replaced by
wordier invocations of __has_c_attribute.
ChangeLog
m4/gnulib-common.m4