You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you cd into the project directory on macOS Terminal using the incorrect casing (e.g. cd DrMock if the directory is called drmock), then the following occurs:
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/mocs_compilation.cpp:2:
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/moc_EmitMock.cpp:10:
/Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/../../DrMock/mock/EmitMock.h:7:10: error:
non-portable path to file '"/Users/malte/drmock/tests/mocker/IEmit.h"'; specified path differs in
case from file name on disk [-Werror,-Wnonportable-include-path]
#include "/Users/malte/DrMock/tests/mocker/IEmit.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"/Users/malte/drmock/tests/mocker/IEmit.h"
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/mocs_compilation.cpp:3:
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/moc_QObjectMock.cpp:10:
/Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/../../DrMock/mock/QObjectMock.h:7:10: error:
non-portable path to file '"/Users/malte/drmock/tests/mocker/IQObject.h"'; specified path differs
in case from file name on disk [-Werror,-Wnonportable-include-path]
#include "/Users/malte/DrMock/tests/mocker/IQObject.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"/Users/malte/drmock/tests/mocker/IQObject.h"
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/mocs_compilation.cpp:4:
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/moc_SignalsMock.cpp:10:
/Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/../../DrMock/mock/SignalsMock.h:7:10: error:
non-portable path to file '"/Users/malte/drmock/tests/mocker/ISignals.h"'; specified path differs
in case from file name on disk [-Werror,-Wnonportable-include-path]
#include "/Users/malte/DrMock/tests/mocker/ISignals.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"/Users/malte/drmock/tests/mocker/ISignals.h"
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/mocs_compilation.cpp:5:
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/moc_SlotsMock.cpp:10:
/Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/../../DrMock/mock/SlotsMock.h:7:10: error:
non-portable path to file '"/Users/malte/drmock/tests/mocker/ISlots.h"'; specified path differs
in case from file name on disk [-Werror,-Wnonportable-include-path]
#include "/Users/malte/DrMock/tests/mocker/ISlots.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"/Users/malte/drmock/tests/mocker/ISlots.h"
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/mocs_compilation.cpp:6:
In file included from /Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/moc_UseQtMock.cpp:10:
/Users/malte/DrMock/build/tests/mocker/DrMockQtMock_autogen/U4H3QIWQU5/../../DrMock/mock/UseQtMock.h:7:10: error:
non-portable path to file '"/Users/malte/drmock/tests/mocker/IUseQt.h"'; specified path differs
in case from file name on disk [-Werror,-Wnonportable-include-path]
#include "/Users/malte/DrMock/tests/mocker/IUseQt.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"/Users/malte/drmock/tests/mocker/IUseQt.h"
This might happen on other case-insensitive filesystems. Note that only Qt-related files are affected. The same error occurs in projects using DrMock.
The text was updated successfully, but these errors were encountered:
maltekliemann
changed the title
specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path] on macOS
specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path] on macOS
Jul 21, 2021
If you
cd
into the project directory on macOS Terminal using the incorrect casing (e.g.cd DrMock
if the directory is calleddrmock
), then the following occurs:This might happen on other case-insensitive filesystems. Note that only Qt-related files are affected. The same error occurs in projects using DrMock.
The text was updated successfully, but these errors were encountered: