[llvm-bugs] [Bug 42948] New: Regression with #include behaviour in rL368322

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 9 12:00:52 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42948

            Bug ID: 42948
           Summary: Regression with #include behaviour in rL368322
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: cameronwhite91 at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 22365
  --> https://bugs.llvm.org/attachment.cgi?id=22365&action=edit
Sample code to reproduce the issue

The attached tarball has a stripped down version of the QtX11Extras folder from
Qt. Running 'clang++ -c test.cpp -I include' fails with the following output:

In file included from test.cpp:1:
In file included from include/QtX11Extras/QX11Info:1:
include/QtX11Extras/qx11info_x11.h:46:10: fatal error: cannot open file
'include/QtX11Extras/QtX11Extras/qtx11extrasglobal.h': Not a directory
#include "QtX11Extras/qtx11extrasglobal.h"
         ^
1 error generated.


Reverting https://reviews.llvm.org/rL368322 avoids the error

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190809/8c1275a9/attachment.html>


More information about the llvm-bugs mailing list