From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E86C33856DC2; Fri, 7 Oct 2022 03:59:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E86C33856DC2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665115197; bh=1CqKMMZPm6EHPr7cfdregWERVAxKNqpJsz9hid0Ij+c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZljnbQwUEDTTS0QvGqkfJCHyRj9gNMRfpfvcBE3rtC379YrgpH7oFAd5IhgdZ+XER 3mI7OKSbvJS42mdOiQAOo/Rnxey2Xs+wgBCGQEc1Pnuaa8FK4w0QAm9omnfQHdl8Oz ShvpfAyTDA6BpXwMtGfDPAmsDEAtJBFXaYtidmSw= From: "llvm at rifkin dot dev" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107178] Diagnosis for colon vs semi-colon in a member function declaration Date: Fri, 07 Oct 2022 03:59:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: llvm at rifkin dot dev 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: Message-ID: In-Reply-To: References: 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=3D107178 --- Comment #2 from Jeremy R. --- The easy solution is to mention both the bitfield and "hey maybe you meant = to use a ;"=