bluegriffon icon indicating copy to clipboard operation
bluegriffon copied to clipboard

Clang compiler error with 3.1

Open itchka opened this issue 6 years ago • 0 comments

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<nsIDocShell>' objects constructed from temporary values are prohibited nsCOMPtr<nsIDocShell> 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<nsIDOMNode>' objects constructed from temporary values are prohibited nsCOMPtr<nsIDOMNode> targetNode = do_QueryInterface(target);

itchka avatar Sep 10 '18 20:09 itchka