[1/102] Automatic MOC for target gtest [2/102] Automatic MOC for target GitVersionTool [3/102] Automatic MOC for target yaml-cpp [4/102] Building CXX object third_party/googletest/CMakeFiles/gtest.dir/gtest_autogen/mocs_compilation.cpp.o [5/102] Building CXX object CMakeFiles/GitVersionTool.dir/GitVersionTool_autogen/mocs_compilation.cpp.o [6/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilder.cpp.o [7/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/tag.cpp.o [8/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/yaml-cpp_autogen/mocs_compilation.cpp.o [9/102] Building CXX object CMakeFiles/GitVersionTool.dir/src/git_version_tool/main.cc.o [10/102] Linking CXX executable GitVersionTool [11/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/stream.cpp.o [12/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/binary.cpp.o [13/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/directives.cpp.o [14/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilderadapter.cpp.o [15/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/parse.cpp.o [16/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/convert.cpp.o [17/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/emit.cpp.o [18/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o In file included from ../third_party/yaml-cpp-0.6.3/src/emitter.cpp:3: In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:12: ../third_party/yaml-cpp-0.6.3/src/emitterstate.h:28:24: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { NoType, Flow, Block }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:51:3: note: previous declaration is here Flow, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitter.cpp:3: In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:12: ../third_party/yaml-cpp-0.6.3/src/emitterstate.h:28:30: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { NoType, Flow, Block }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:52:3: note: previous declaration is here Block, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitter.cpp:3: ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:24:23: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { Plain, SingleQuoted, DoubleQuoted, Literal }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:25:3: note: previous declaration is here SingleQuoted, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitter.cpp:3: ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:24:37: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { Plain, SingleQuoted, DoubleQuoted, Literal }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:26:3: note: previous declaration is here DoubleQuoted, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitter.cpp:3: ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:24:51: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { Plain, SingleQuoted, DoubleQuoted, Literal }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:27:3: note: previous declaration is here Literal, ^ 5 warnings generated. [19/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/emitfromevents.cpp.o [20/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o In file included from ../third_party/yaml-cpp-0.6.3/src/emitterstate.cpp:3: ../third_party/yaml-cpp-0.6.3/src/emitterstate.h:28:24: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { NoType, Flow, Block }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:51:3: note: previous declaration is here Flow, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitterstate.cpp:3: ../third_party/yaml-cpp-0.6.3/src/emitterstate.h:28:30: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { NoType, Flow, Block }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:52:3: note: previous declaration is here Block, ^ 2 warnings generated. [21/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/exceptions.cpp.o [22/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/node.cpp.o [23/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.cpp:4: In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:12: ../third_party/yaml-cpp-0.6.3/src/emitterstate.h:28:24: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { NoType, Flow, Block }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:51:3: note: previous declaration is here Flow, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.cpp:4: In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:12: ../third_party/yaml-cpp-0.6.3/src/emitterstate.h:28:30: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { NoType, Flow, Block }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:52:3: note: previous declaration is here Block, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.cpp:4: ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:24:23: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { Plain, SingleQuoted, DoubleQuoted, Literal }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:25:3: note: previous declaration is here SingleQuoted, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.cpp:4: ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:24:37: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { Plain, SingleQuoted, DoubleQuoted, Literal }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:26:3: note: previous declaration is here DoubleQuoted, ^ In file included from ../third_party/yaml-cpp-0.6.3/src/emitterutils.cpp:4: ../third_party/yaml-cpp-0.6.3/src/emitterutils.h:24:51: warning: declaration shadows a variable in namespace 'YAML' [-Wshadow] enum value { Plain, SingleQuoted, DoubleQuoted, Literal }; ^ ../third_party/yaml-cpp-0.6.3/include/yaml-cpp/emittermanip.h:27:3: note: previous declaration is here Literal, ^ 5 warnings generated. [24/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/exp.cpp.o [25/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/memory.cpp.o [26/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/null.cpp.o [27/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/nodeevents.cpp.o [28/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/node_data.cpp.o [29/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/ostream_wrapper.cpp.o [30/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/nodebuilder.cpp.o [31/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/regex_yaml.cpp.o [32/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/parser.cpp.o [33/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/scanscalar.cpp.o [34/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/scantag.cpp.o [35/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/simplekey.cpp.o [36/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/scanner.cpp.o [37/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/singledocparser.cpp.o [38/102] Building CXX object third_party/yaml-cpp-0.6.3/CMakeFiles/yaml-cpp.dir/src/scantoken.cpp.o [39/102] Linking CXX shared library third_party/yaml-cpp-0.6.3/libyaml-cpp.0.6.3.dylib [40/102] Creating library symlink third_party/yaml-cpp-0.6.3/libyaml-cpp.0.6.dylib third_party/yaml-cpp-0.6.3/libyaml-cpp.dylib [41/102] Generating CIDE_git_version.h, always_rebuild [42/102] Building CXX object third_party/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [43/102] Linking CXX static library lib/libgtest.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libgtest.a(mocs_compilation.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libgtest.a(mocs_compilation.cpp.o) has no symbols [44/102] Automatic MOC for target gtest_main [45/102] Building CXX object third_party/googletest/CMakeFiles/gtest_main.dir/gtest_main_autogen/mocs_compilation.cpp.o [46/102] Building CXX object third_party/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [47/102] Linking CXX static library lib/libgtest_main.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libgtest_main.a(mocs_compilation.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libgtest_main.a(mocs_compilation.cpp.o) has no symbols [48/102] Automatic MOC for target CIDEBaseLib [49/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/src/cide/clang_index.cc.o [50/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/src/cide/argument_hint_widget.cc.o FAILED: CMakeFiles/CIDEBaseLib.dir/src/cide/argument_hint_widget.cc.o /Library/Developer/CommandLineTools/usr/bin/c++ -DCIDEBaseLib_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I. -I../ -ICIDEBaseLib_autogen/include -I../src -I../third_party/yaml-cpp-0.6.3/include -I../third_party/googletest/include -I/usr/local/Cellar/llvm/9.0.1/include -I/usr/local/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtHelp.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC -Wall -Wextra -O2 -msse2 -msse3 -Wno-sign-compare -Wno-strict-overflow -fPIC -std=gnu++11 -MD -MT CMakeFiles/CIDEBaseLib.dir/src/cide/argument_hint_widget.cc.o -MF CMakeFiles/CIDEBaseLib.dir/src/cide/argument_hint_widget.cc.o.d -o CMakeFiles/CIDEBaseLib.dir/src/cide/argument_hint_widget.cc.o -c ../src/cide/argument_hint_widget.cc In file included from ../src/cide/argument_hint_widget.cc:11: In file included from ../src/cide/settings.h:16: ../src/cide/util.h:23:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~ /usr/local/include/QtCore/qhashfunctions.h:204:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString) ^ /usr/local/include/QtCore/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/include/QtCore/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ In file included from ../src/cide/argument_hint_widget.cc:11: In file included from ../src/cide/settings.h:16: ../src/cide/util.h:29:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~~~~ /usr/local/include/QtCore/qhashfunctions.h:208:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QByteArray) ^ /usr/local/include/QtCore/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/include/QtCore/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ ../src/cide/argument_hint_widget.cc:98:49: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] charWidth = fontMetrics./*horizontalAdvance*/ width(' '); ^ /usr/local/include/QtGui/qfontmetrics.h:109:5: note: 'width' has been explicitly marked deprecated here QT_DEPRECATED_X("Use QFontMetrics::horizontalAdvance") ^ /usr/local/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/include/QtCore/qcompilerdetection.h:676:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text))) ^ 1 warning and 2 errors generated. [51/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/src/cide/about_dialog.cc.o [52/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/src/cide/clang_tu_pool.cc.o [53/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/src/cide/clang_highlighting.cc.o FAILED: CMakeFiles/CIDEBaseLib.dir/src/cide/clang_highlighting.cc.o /Library/Developer/CommandLineTools/usr/bin/c++ -DCIDEBaseLib_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I. -I../ -ICIDEBaseLib_autogen/include -I../src -I../third_party/yaml-cpp-0.6.3/include -I../third_party/googletest/include -I/usr/local/Cellar/llvm/9.0.1/include -I/usr/local/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtHelp.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC -Wall -Wextra -O2 -msse2 -msse3 -Wno-sign-compare -Wno-strict-overflow -fPIC -std=gnu++11 -MD -MT CMakeFiles/CIDEBaseLib.dir/src/cide/clang_highlighting.cc.o -MF CMakeFiles/CIDEBaseLib.dir/src/cide/clang_highlighting.cc.o.d -o CMakeFiles/CIDEBaseLib.dir/src/cide/clang_highlighting.cc.o -c ../src/cide/clang_highlighting.cc In file included from ../src/cide/clang_highlighting.cc:11: In file included from ../src/cide/settings.h:16: ../src/cide/util.h:23:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:204:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ In file included from ../src/cide/clang_highlighting.cc:11: In file included from ../src/cide/settings.h:16: ../src/cide/util.h:29:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~~~~ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:208:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QByteArray) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ 2 errors generated. [54/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/src/cide/clang_utils.cc.o FAILED: CMakeFiles/CIDEBaseLib.dir/src/cide/clang_utils.cc.o /Library/Developer/CommandLineTools/usr/bin/c++ -DCIDEBaseLib_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I. -I../ -ICIDEBaseLib_autogen/include -I../src -I../third_party/yaml-cpp-0.6.3/include -I../third_party/googletest/include -I/usr/local/Cellar/llvm/9.0.1/include -I/usr/local/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtHelp.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC -Wall -Wextra -O2 -msse2 -msse3 -Wno-sign-compare -Wno-strict-overflow -fPIC -std=gnu++11 -MD -MT CMakeFiles/CIDEBaseLib.dir/src/cide/clang_utils.cc.o -MF CMakeFiles/CIDEBaseLib.dir/src/cide/clang_utils.cc.o.d -o CMakeFiles/CIDEBaseLib.dir/src/cide/clang_utils.cc.o -c ../src/cide/clang_utils.cc In file included from ../src/cide/clang_utils.cc:7: In file included from ../src/cide/main_window.h:21: In file included from ../src/cide/project.h:17: ../src/cide/util.h:23:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:204:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ In file included from ../src/cide/clang_utils.cc:7: In file included from ../src/cide/main_window.h:21: In file included from ../src/cide/project.h:17: ../src/cide/util.h:29:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~~~~ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:208:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QByteArray) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ 2 errors generated. [55/102] Building CXX object CMakeFiles/CIDEBaseLib.dir/CIDEBaseLib_autogen/mocs_compilation.cpp.o FAILED: CMakeFiles/CIDEBaseLib.dir/CIDEBaseLib_autogen/mocs_compilation.cpp.o /Library/Developer/CommandLineTools/usr/bin/c++ -DCIDEBaseLib_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I. -I../ -ICIDEBaseLib_autogen/include -I../src -I../third_party/yaml-cpp-0.6.3/include -I../third_party/googletest/include -I/usr/local/Cellar/llvm/9.0.1/include -I/usr/local/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtHelp.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC -Wall -Wextra -O2 -msse2 -msse3 -Wno-sign-compare -Wno-strict-overflow -fPIC -std=gnu++11 -MD -MT CMakeFiles/CIDEBaseLib.dir/CIDEBaseLib_autogen/mocs_compilation.cpp.o -MF CMakeFiles/CIDEBaseLib.dir/CIDEBaseLib_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/CIDEBaseLib.dir/CIDEBaseLib_autogen/mocs_compilation.cpp.o -c CIDEBaseLib_autogen/mocs_compilation.cpp In file included from CIDEBaseLib_autogen/mocs_compilation.cpp:8: In file included from CIDEBaseLib_autogen/7UURPROZEX/moc_main_window.cpp:10: In file included from ../src/cide/main_window.h:21: In file included from ../src/cide/project.h:17: ../src/cide/util.h:23:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:204:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ In file included from CIDEBaseLib_autogen/mocs_compilation.cpp:8: In file included from CIDEBaseLib_autogen/7UURPROZEX/moc_main_window.cpp:10: In file included from ../src/cide/main_window.h:21: In file included from ../src/cide/project.h:17: ../src/cide/util.h:29:21: error: redefinition of 'hash' template<> struct hash { ^~~~~~~~~~~~~~~~ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:208:1: note: previous definition is here QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QByteArray) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:200:5: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF' QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH(Class, const argument_type &) ^ /usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:180:16: note: expanded from macro 'QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH' struct hash< QT_PREPEND_NAMESPACE(Class) > { \ ^ 2 errors generated. ninja: build stopped: subcommand failed.