Allow #pragma GCC in headers in conformtest
authorJoseph Myers <joseph@codesourcery.com>
Fri, 27 Aug 2021 17:47:46 +0000 (17:47 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 27 Aug 2021 17:47:46 +0000 (17:47 +0000)
commit6090a4a1b32fd7859d0ad5b7e9b240bd5fa04b3f
tree31ca624c983e38d37d3f1b1771e9eb2ee08bd469
parent6f4973c1a2449438840a838732052e029fbea737
Allow #pragma GCC in headers in conformtest

No "#pragma GCC" pragma allows macro-expansion of its arguments, so no
namespace issues arise from use of such pragmas in installed headers.
Ignore them in conformtest tests of header namespace.

Tested for x86_64, in conjunction with Paul's patch
<https://sourceware.org/pipermail/libc-alpha/2021-August/130571.html>
adding use of such pragmas to installed headers shared with gnulib.
conform/conformtest.py