Compile Error under macOS

Christoph Schmitz chr.schmitz at web.de
Sun Dec 5 21:32:05 UTC 2021


The latest changes have introduced an issue for macOS X (Qt 6).

These are the last lines of the output before the error occurs:

file included from filetools.cpp:42:
In file included from /opt/homebrew/lib/QtCore.framework/Headers/QDir:1:
In file included from /opt/homebrew/lib/QtCore.framework/Headers/qdir.h:45:
/opt/homebrew/lib/QtCore.framework/Headers/qfileinfo.h:118:14: error: '~path' is unavailable: introduced in macOS 10.15
    { return QtPrivate::toFilesystemPath(filePath()); }
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:961:3: note: '~path' has been explicitly marked unavailable here
  ~path() = default;
  ^
In file included from filetools.cpp:42:
In file included from /opt/homebrew/lib/QtCore.framework/Headers/QDir:1:
In file included from /opt/homebrew/lib/QtCore.framework/Headers/qdir.h:45:
/opt/homebrew/lib/QtCore.framework/Headers/qfileinfo.h:120:14: error: '~path' is unavailable: introduced in macOS 10.15
    { return QtPrivate::toFilesystemPath(absoluteFilePath()); }
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:961:3: note: '~path' has been explicitly marked unavailable here
  ~path() = default;
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[5]: *** [filetools.o] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I also try to attach the full log, but last time it was removed from the mailer.

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211205/333ed35a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeLyX.log
Type: application/octet-stream
Size: 83809 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211205/333ed35a/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211205/333ed35a/attachment-0003.html>


More information about the lyx-devel mailing list