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
Today homebrew upgraded poco to 1.6.0. After upgrading Mantid generates the compiler warnings below. It looks like both Mantid and poco define the macros GCC_DIAG_ON and GCC_DIAG_OFF.
[279/2621] Building CXX object Framework/Geometry/CMakeFiles/Geometry.dir/src/Rendering/OCGeometryRenderer.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryRenderer.cpp:6:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryRenderer.cpp:6:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[283/2621] Building CXX object Framework/Geometry/CMakeFiles/Geometry.dir/src/Rendering/OCGeometryGenerator.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp:13:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp:13:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[594/2621] Building CXX object Framework/PythonInterface/mantid/api/CMakeFiles/PythonAPIModule.dir/src/Exports/AlgorithmFactory.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp:4:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp:4:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[649/2621] Building CXX object Framework/PythonInterface/mantid/api/CMakeFiles/PythonAPIModule.dir/src/Exports/FunctionFactory.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp:3:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp:3:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1263/2621] Building CXX object Framework/LiveData/CMakeFiles/LiveData.dir/src/ISISHistoDataListener.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISHistoDataListener.cpp:14:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISHistoDataListener.cpp:14:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1270/2621] Building CXX object Framework/LiveData/CMakeFiles/LiveData.dir/src/ISISLiveEventDataListener.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISLiveEventDataListener.cpp:12:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISLiveEventDataListener.cpp:12:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1288/2621] Building CXX object Framework/MDEvents/CMakeFiles/MDEvents.dir/src/MDGridBox.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1574/2621] Building CXX object Framework/MDEvents/CMakeFiles/MDEvents.dir/src/MDEventFactory.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp:21:
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp:21:
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
Today homebrew upgraded poco to 1.6.0. After upgrading Mantid generates the compiler warnings below. It looks like both Mantid and poco define the macros GCC_DIAG_ON and GCC_DIAG_OFF.
[279/2621] Building CXX object Framework/Geometry/CMakeFiles/Geometry.dir/src/Rendering/OCGeometryRenderer.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryRenderer.cpp:6:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryRenderer.cpp:6:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[283/2621] Building CXX object Framework/Geometry/CMakeFiles/Geometry.dir/src/Rendering/OCGeometryGenerator.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp:13:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp:13:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[594/2621] Building CXX object Framework/PythonInterface/mantid/api/CMakeFiles/PythonAPIModule.dir/src/Exports/AlgorithmFactory.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp:4:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp:4:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[649/2621] Building CXX object Framework/PythonInterface/mantid/api/CMakeFiles/PythonAPIModule.dir/src/Exports/FunctionFactory.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp:3:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp:3:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1263/2621] Building CXX object Framework/LiveData/CMakeFiles/LiveData.dir/src/ISISHistoDataListener.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISHistoDataListener.cpp:14:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISHistoDataListener.cpp:14:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1270/2621] Building CXX object Framework/LiveData/CMakeFiles/LiveData.dir/src/ISISLiveEventDataListener.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISLiveEventDataListener.cpp:12:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/LiveData/src/ISISLiveEventDataListener.cpp:12:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1288/2621] Building CXX object Framework/MDEvents/CMakeFiles/MDEvents.dir/src/MDGridBox.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[1574/2621] Building CXX object Framework/MDEvents/CMakeFiles/MDEvents.dir/src/MDEventFactory.cpp.o
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp:21:
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:56:9: warning: 'GCC_DIAG_OFF' macro redefined
define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:85:11: note: previous definition is here
#define GCC_DIAG_OFF(x)
^
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp:21:
In file included from /Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp:8:
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/Framework/Kernel/inc/MantidKernel/WarningSuppressions.h:57:9: warning: 'GCC_DIAG_ON' macro redefined
define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W, x))
/usr/local/include/Poco/Platform_POSIX.h:86:11: note: previous definition is here
#define GCC_DIAG_ON(x)
^
2 warnings generated.
[2621/2621] Linking CXX executable bin/MantidPlot.app/Contents/MacOS/MantidPlot
The text was updated successfully, but these errors were encountered: