bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65885] env.cpp: warning about "-Woverloaded-virtual="


From: Bjarni Ingi Gislason
Subject: [bug #65885] env.cpp: warning about "-Woverloaded-virtual="
Date: Sat, 15 Jun 2024 14:47:08 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?65885>

                 Summary: env.cpp: warning about "-Woverloaded-virtual="
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Sat 15 Jun 2024 06:47:07 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 15 Jun 2024 06:47:07 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: env.cpp: warning about "-Woverloaded-virtual="

Directory: src/roff/troff

gcc-14 (Debian 14-20240330-1) 14.0.1 20240330 (experimental) [master
r14-9728-g6fc84f680d0]

[...]
  CXX      src/roff/troff/env.o
In file included from ../src/roff/troff/env.cpp:29:
../src/roff/troff/reg.h:23:16: warning: 'virtual bool reg::get_value(units*)'
was hidden [-Woverloaded-virtual=]
   23 |   virtual bool get_value(units *);
      |                ^~~~~~~~~
../src/roff/troff/env.cpp:3184:8: note:   by 'bool
unsigned_env_reg::get_value(unsigned int*)'
 3184 |   bool get_value(unsigned *val);
      |        ^~~~~~~~~
  CXXLD    troff
[...] 








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65885>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]