From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5B2E385C65C; Wed, 14 Dec 2022 19:17:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5B2E385C65C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671045458; bh=uw4hc2PwlSbvRppmktK8hftJ1TzMFde+feREbswmRtQ=; h=From:To:Subject:Date:From; b=JxOY2uTlRPa1sihLjzeO0NfwXXmdVM6E9D8QJF6oA95drpwbQ9obLqxzX7WSp8sML yS6PGKIkit6lzxjrFWDWNq1fTEPFBVYkWdB/Oxo6ayiuxnr6sGzcJHl+9s9mCHg6j3 PWKxosmIGeXNexny946qZz2MDN672AdAq3kSiXAA= From: "dcb314 at hotmail dot com" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/108111] New: Rust meets clang Date: Wed, 14 Dec 2022 19:17:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108111 Bug ID: 108111 Summary: Rust meets clang Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org Target Milestone: --- Since the new Rust code landed in gcc, I thought I'd give it=20 compile with clang. The following 14 warning messages were produced: ./../trunk.d1/gcc/rust/ast/rust-item.h:2186:23: warning: 'as_string' overri= des a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.d1/gcc/rust/ast/rust-item.h:2189:16: warning: 'accept_vis' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.d1/gcc/rust/ast/rust-item.h:2191:12: warning: 'get_locus' overr= ides a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.d1/gcc/rust/ast/rust-item.h:2196:8: warning: 'mark_for_strip' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.d1/gcc/rust/ast/rust-item.h:2197:8: warning: 'is_marked_for_str= ip' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.d1/gcc/rust/ast/rust-pattern.h:894:12: warning: 'get_locus' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ../../trunk.d1/gcc/rust/hir/tree/rust-hir-type.h:35:8: warning: private fie= ld 'in_parens' is not used [-Wunused-private-field] ../../trunk.d1/gcc/rust/lex/rust-lex.h:156:10: warning: explicitly defaulted move assignment operator is implicitly deleted [-Wdefaulted-function-delete= d] ../../trunk.d1/gcc/rust/parse/rust-parse-impl.h:14918:23: warning: operator '?:' has lower precedence than '<<'; '<<' will be evaluated first [-Wparentheses] ../../trunk.d1/gcc/rust/typecheck/rust-substitution-mapper.h:332:19: warnin= g: private field 'concrete' is not used [-Wunused-private-field] ../../trunk.d1/gcc/rust/typecheck/rust-tyty-call.h:140:31: warning: private field 'context' is not used [-Wunused-private-field] ../../trunk.d1/gcc/rust/typecheck/rust-tyty-call.h:83:31: warning: private field 'context' is not used [-Wunused-private-field] /usr/bin/../lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/bits/= new_allocator.h:181:4: warning: destructor called on non-final 'Rust::TyTy::TypeBoundPredicate' th= at has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] /usr/bin/../lib/gcc/x86_64-redhat-linux/12/../../../../include/c++/12/bits/= stl_construct.h:151:7: warning: destructor called on non-final 'Rust::TyTy::TypeBoundPredicate' th= at has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] Some, all or none of these might be worth fixing. --=20 You are receiving this mail because: You are on the CC list for the bug.=