In building a project with modules enabled against PS4 headers that have been modularized, I get the following error message:
1> In file included from D:\Games\game5\knack\src\fw\base\condition.cpp:14:
1> In file included from D:\Games\game5\knack\src\fw..\fw/…\fw/base/condition.h:24:
1> In file included from D:\Games\game5\knack\src\fw..\fw/…\fw/base/mutex.h:51:
1> In file included from D:\Games\game5\knack\src\fw..\fw/…\fw/base/atomiccounter.h:41:
1> In file included from D:\Games\game5\knack\src\fw\base/core/atomiccore.h:22:
1>D:\Games\game5\knack\src\fw\base/core/atomiccore_impl.orbis.h(12,9): fatal error : could not build module ‘target_include_common’
The location at atomiccore_impl.orbis.h simply points to an include:
#include <sce_atomic.h>
It seems Clang should give me some hint as to what is wrong.
This is a development version of the PS4 version of Clang, so I apologize if it’s not something in trunk.
-John
In building a project with modules enabled against PS4 headers that have
been modularized, I get the following error message:
1> In file included from
D:\Games\game5\knack\src\fw\base\condition.cpp:14:
1> In file included from
D:\Games\game5\knack\src\fw\..\fw/..\fw/base/condition.h:24:
1> In file included from
D:\Games\game5\knack\src\fw\..\fw/..\fw/base/mutex.h:51:
1> In file included from
D:\Games\game5\knack\src\fw\..\fw/..\fw/base/atomiccounter.h:41:
1> In file included from
D:\Games\game5\knack\src\fw\base/core/atomiccore.h:22:
1>D:\Games\game5\knack\src\fw\base/core/atomiccore_impl.orbis.h(12,9):
fatal error : could not build module 'target_include_common'
The location at atomiccore_impl.orbis.h simply points to an include:
#include <sce_atomic.h>
It seems Clang should give me some hint as to what is wrong.
Is that the first error message produced? You should have been given an
earlier error message explaining why the build of target_include_common
failed.