I get the following errors when trying to build Bluegriffon-3.1 on OpenMandriva Lx3 with clang. The build succeeds id gcc/g++ is used.
In file included from /home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/opt/editor/libeditor/Unified_cpp_editor_libeditor2.cpp:65:
/home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/editor/libeditor/TextEditorDataTransfer.cpp:443:3: error: Unused "kungFuDeathGrip" 'nsCOMPtr' objects constructed from temporary values are prohibited
nsCOMPtr docShell = do_QueryInterface(root);
In file included from /home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/opt/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:47:
/home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/editor/libeditor/HTMLEditorEventListener.cpp:253:3: error: Unused "kungFuDeathGrip" 'nsCOMPtr' objects constructed from temporary values are prohibited
nsCOMPtr targetNode = do_QueryInterface(target);
I get the following errors when trying to build Bluegriffon-3.1 on OpenMandriva Lx3 with clang. The build succeeds id gcc/g++ is used.
In file included from /home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/opt/editor/libeditor/Unified_cpp_editor_libeditor2.cpp:65: /home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/editor/libeditor/TextEditorDataTransfer.cpp:443:3: error: Unused "kungFuDeathGrip" 'nsCOMPtr' objects constructed from temporary values are prohibited
nsCOMPtr docShell = do_QueryInterface(root);
In file included from /home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/opt/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:47: /home/colin/Development/bluegriffon/BUILD/gecko-dev-042b84a/editor/libeditor/HTMLEditorEventListener.cpp:253:3: error: Unused "kungFuDeathGrip" 'nsCOMPtr' objects constructed from temporary values are prohibited
nsCOMPtr targetNode = do_QueryInterface(target);