public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/110205] New: Some new warnings from clang for the range code
@ 2023-06-11  7:17 dcb314 at hotmail dot com
  2023-06-12 13:30 ` [Bug c/110205] " amacleod at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2023-06-11  7:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110205

            Bug ID: 110205
           Summary: Some new warnings from clang for the range code
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just did a build of gcc trunk with clang. It said

../../trunk.year/gcc/range-op-mixed.h:215:8: warning: 'fold_range' overrides a
member function but is not marked 'override' [-Winconsistent-missing-override]
../../trunk.year/gcc/range-op-mixed.h:222:8: warning: 'op1_range' overrides a
member function but is not marked 'override' [-Winconsistent-missing-override]
../../trunk.year/gcc/range-op-mixed.h:229:8: warning: 'op2_range' overrides a
member function but is not marked 'override' [-Winconsistent-missing-override]
../../trunk.year/gcc/range-op-mixed.h:236:8: warning: 'update_bitmask'
overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
../../trunk.year/gcc/range-op.cc:169:16: warning: unused variable 'RO_FII'
[-Wunused-const-variable]
../../trunk.year/gcc/range-op.cc:2292:8: warning: 'update_bitmask' overrides a
member function but is not marked 'override' [-Winconsistent-missing-override]

These might be worth fixing. The unused variable might be a typo or some
missing code.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-01-20 17:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-11  7:17 [Bug c/110205] New: Some new warnings from clang for the range code dcb314 at hotmail dot com
2023-06-12 13:30 ` [Bug c/110205] " amacleod at redhat dot com
2023-06-12 15:33 ` cvs-commit at gcc dot gnu.org
2023-07-10 14:19 ` dcb314 at hotmail dot com
2023-07-10 17:38 ` [Bug other/110205] " xry111 at gcc dot gnu.org
2023-07-28 20:37 ` cvs-commit at gcc dot gnu.org
2024-01-16 18:44 ` amacleod at redhat dot com
2024-01-20 17:24 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).