[Bug preprocessor/110558] __has_include argument expansion results in unexpected filename

provisorisch at online dot de gcc-bugzilla@gcc.gnu.org
Wed Jul 5 14:46:52 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110558

--- Comment #2 from provisorisch at online dot de ---
Not quite, but you will run into bug 80753 if the header file does not exist:
The second #include will not cause an error in that case.
The first #include however will cause an error as expected - presumably only
because the first __has_include ends up with a different file name.


More information about the Gcc-bugs mailing list