{\rtf1\ansi\ansicpg1252\cocoartf2759 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \f0\fs24 \cf0 tim@Timothys-Laptop field02-build % make\ [ 7%] Building CXX object CMakeFiles/field02.dir/field02.cc.o\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:399:11: error: 'maybe_unused' attribute cannot be applied to types\ constexpr Q_DECL_UNUSED Deprecated_t Deprecated = \{\};\ ^\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:27: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:900:50: error: an attribute list cannot appear here\ Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2)\ ^~~~~~~~~~~~~\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:25: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^~~~~~~~~~~~~~~~\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:905:50: error: an attribute list cannot appear here\ Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2)\ ^~~~~~~~~~~~~\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:25: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^~~~~~~~~~~~~~~~\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:910:50: error: an attribute list cannot appear here\ Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d)\ ^~~~~~~~~~~~~\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:25: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^~~~~~~~~~~~~~~~\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:915:50: error: an attribute list cannot appear here\ Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f)\ ^~~~~~~~~~~~~\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:25: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^~~~~~~~~~~~~~~~\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:925:50: error: an attribute list cannot appear here\ Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(double d) noexcept\ ^~~~~~~~~~~~~\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:25: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^~~~~~~~~~~~~~~~\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:930:50: error: an attribute list cannot appear here\ Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(float f) noexcept\ ^~~~~~~~~~~~~\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:25: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^~~~~~~~~~~~~~~~\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1252:41: error: 'maybe_unused' attribute cannot be applied to types\ template Q_CONSTEXPR Q_DECL_UNUSED QOverload qOverload = \{\};\ ^\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:27: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1253:41: error: 'maybe_unused' attribute cannot be applied to types\ template Q_CONSTEXPR Q_DECL_UNUSED QConstOverload qConstOverload = \{\};\ ^\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:27: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1254:41: error: 'maybe_unused' attribute cannot be applied to types\ template Q_CONSTEXPR Q_DECL_UNUSED QNonConstOverload qNonConstOverload = \{\};\ ^\ /opt/homebrew/include/QtCore/qcompilerdetection.h:983:27: note: expanded from macro 'Q_DECL_UNUSED'\ # define Q_DECL_UNUSED [[maybe_unused]]\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ In file included from /opt/homebrew/include/QtCore/qtypes.h:10:\ In file included from /opt/homebrew/include/QtCore/qassert.h:9:\ In file included from /opt/homebrew/include/QtCore/qtcoreexports.h:9:\ /opt/homebrew/include/QtCore/qtdeprecationmarkers.h:333:12: error: redefinition of 'Deprecated_t'\ enum class Deprecated_t \{\};\ ^\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:398:12: note: previous definition is here\ enum class Deprecated_t \{\};\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ In file included from /opt/homebrew/include/QtCore/qtypes.h:10:\ In file included from /opt/homebrew/include/QtCore/qassert.h:9:\ In file included from /opt/homebrew/include/QtCore/qtcoreexports.h:9:\ /opt/homebrew/include/QtCore/qtdeprecationmarkers.h:334:31: error: inline declaration of 'Deprecated' follows non-inline definition\ constexpr inline Deprecated_t Deprecated = \{\};\ ^\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:399:38: note: previous definition is here\ constexpr Q_DECL_UNUSED Deprecated_t Deprecated = \{\};\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ In file included from /opt/homebrew/include/QtCore/qtypes.h:10:\ In file included from /opt/homebrew/include/QtCore/qassert.h:9:\ In file included from /opt/homebrew/include/QtCore/qtcoreexports.h:9:\ /opt/homebrew/include/QtCore/qtdeprecationmarkers.h:334:31: error: redefinition of 'Deprecated'\ constexpr inline Deprecated_t Deprecated = \{\};\ ^\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:399:38: note: previous definition is here\ constexpr Q_DECL_UNUSED Deprecated_t Deprecated = \{\};\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ In file included from /opt/homebrew/include/QtCore/qtypes.h:10:\ In file included from /opt/homebrew/include/QtCore/qassert.h:10:\ /opt/homebrew/include/QtCore/qtnoop.h:14:13: error: exception specification in declaration does not match previous declaration\ inline void qt_noop(void)\ ^\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:770:13: note: previous declaration is here\ inline void qt_noop(void) \{\}\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ In file included from /opt/homebrew/include/QtCore/qtypes.h:10:\ /opt/homebrew/include/QtCore/qassert.h:51:1: error: 'noreturn' attribute does not appear on the first declaration\ Q_NORETURN Q_DECL_COLD_FUNCTION\ ^\ /opt/homebrew/include/QtCore/qcompilerdetection.h:988:24: note: expanded from macro 'Q_NORETURN'\ # define Q_NORETURN [[noreturn]]\ ^\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:879:20: note: previous declaration is here\ Q_CORE_EXPORT void qBadAlloc();\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ In file included from /opt/homebrew/include/QtCore/qtypes.h:10:\ /opt/homebrew/include/QtCore/qassert.h:65:11: error: redefinition of 'q_check_ptr'\ inline T *q_check_ptr(T *p) \{ Q_CHECK_PTR(p); return p; \}\ ^\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:892:11: note: previous definition is here\ inline T *q_check_ptr(T *p) \{ Q_CHECK_PTR(p); return p; \}\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ /opt/homebrew/include/QtCore/qtypes.h:201:23: error: redefinition of 'QIntegerForSize<1>'\ template <> struct QIntegerForSize<1> \{ typedef quint8 Unsigned; typedef qint8 Signed; \};\ ^~~~~~~~~~~~~~~~~~\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:568:23: note: previous definition is here\ template <> struct QIntegerForSize<1> \{ typedef quint8 Unsigned; typedef qint8 Signed; \};\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ /opt/homebrew/include/QtCore/qtypes.h:202:23: error: redefinition of 'QIntegerForSize<2>'\ template <> struct QIntegerForSize<2> \{ typedef quint16 Unsigned; typedef qint16 Signed; \};\ ^~~~~~~~~~~~~~~~~~\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:569:23: note: previous definition is here\ template <> struct QIntegerForSize<2> \{ typedef quint16 Unsigned; typedef qint16 Signed; \};\ ^\ In file included from /Users/Tim/Data/Geant4/field02/field02.cc:53:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.hh:141:\ In file included from /Users/tim/geant4-v11.0.0-install/include/Geant4/G4VisExecutive.icc:142:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1:\ In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301:\ In file included from /opt/homebrew/include/QtCore/qtypeinfo.h:9:\ In file included from /opt/homebrew/include/QtCore/qcontainerfwd.h:8:\ /opt/homebrew/include/QtCore/qtypes.h:203:23: error: redefinition of 'QIntegerForSize<4>'\ template <> struct QIntegerForSize<4> \{ typedef quint32 Unsigned; typedef qint32 Signed; \};\ ^~~~~~~~~~~~~~~~~~\ /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:570:23: note: previous definition is here\ template <> struct QIntegerForSize<4> \{ typedef quint32 Unsigned; typedef qint32 Signed; \};\ ^\ fatal error: too many errors emitted, stopping now [-ferror-limit=]\ 20 errors generated.\ make[2]: *** [CMakeFiles/field02.dir/field02.cc.o] Error 1\ make[1]: *** [CMakeFiles/field02.dir/all] Error 2\ make: *** [all] Error 2\ tim@Timothys-Laptop field02-build % brew info qt@5\ ==> qt@5: stable 5.15.13 (bottled) [keg-only]\ Cross-platform application and UI framework\ https://www.qt.io/\ Installed\ /opt/homebrew/Cellar/qt@5/5.15.13_1 (10,848 files, 342.6MB)\ Poured from bottle using the formulae.brew.sh API on 2024-04-30 at 13:43:11\ From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/q/qt@5.rb\ License: GFDL-1.3-only and GPL-2.0-only and GPL-3.0-only and LGPL-2.1-only and LGPL-3.0-only\ ==> Dependencies\ Build: node \uc0\u10008 , pkg-config \u10004 , python@3.11 \u10008 \ Required: freetype \uc0\u10004 , glib \u10004 , jpeg-turbo \u10004 , libpng \u10004 , pcre2 \u10004 , webp \u10004 \ ==> Requirements\ Build: Xcode (on macOS) \uc0\u10004 \ Required: macOS >= 10.12 (or Linux) \uc0\u10004 \ ==> Caveats\ We agreed to the Qt open source license for you.\ If this is unacceptable you should uninstall.\ \ You can add Homebrew's Qt to QtCreator's "Qt Versions" in:\ Preferences > Qt Versions > Link with Qt...\ pressing "Choose..." and selecting as the Qt installation path:\ /opt/homebrew/opt/qt@5\ \ qt@5 is keg-only, which means it was not symlinked into /opt/homebrew,\ because this is an alternate version of another formula.\ \ If you need to have qt@5 first in your PATH, run:\ echo 'export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"' >> ~/.zshrc\ \ For compilers to find qt@5 you may need to set:\ export LDFLAGS="-L/opt/homebrew/opt/qt@5/lib"\ export CPPFLAGS="-I/opt/homebrew/opt/qt@5/include"\ \ For pkg-config to find qt@5 you may need to set:\ export PKG_CONFIG_PATH="/opt/homebrew/opt/qt@5/lib/pkgconfig"\ ==> Analytics\ install: 13,051 (30 days), 50,114 (90 days), 229,609 (365 days)\ install-on-request: 8,469 (30 days), 32,479 (90 days), 138,419 (365 days)\ build-error: 2 (30 days)\ tim@Timothys-Laptop field02-build % \ }