bug-groff
[Top][All Lists]
Advanced

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

[bug #52335] src: Some warnings from the compiler that need fixing or ex


From: Bjarni Ingi Gislason
Subject: [bug #52335] src: Some warnings from the compiler that need fixing or explanations in the code
Date: Fri, 3 Nov 2017 20:25:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52335>

                 Summary: src: Some warnings from the compiler that need
fixing or explanations in the code
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sat 04 Nov 2017 12:25:21 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


  These need fixing, or if correct, an explanation should be added to the
code.

###
src/libs/libgroff/new.cpp:60:6: warning: the program should also define 'void
operator delete(void*, long unsigned int)' [-Wsized-deallocation]
 void operator delete(void *p)

###

src/roff/groff/groff.cpp: In function 'int main(int, char**)':
src/roff/groff/groff.cpp:295:13: warning: this statement may fall through
[-Wimplicit-fallthrough=]
       oflag = 1;
       ~~~~~~^~~
src/roff/groff/groff.cpp:296:5: note: here
     case 'f':

###

src/preproc/grn/hdb.cpp: In function 'int DBGetType(char*)':
src/preproc/grn/hdb.cpp:247:12: warning: this statement may fall through
[-Wimplicit-fallthrough=]
       fatal("unknown element type");
       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/preproc/grn/hdb.cpp:249:3: note: here
   case 'B':
   ^~~~
src/preproc/grn/hdb.cpp:258:12: warning: this statement may fall through
[-Wimplicit-fallthrough=]
       fatal("unknown element type");
       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/preproc/grn/hdb.cpp:260:3: note: here
   case 'T':
   ^~~~
src/preproc/grn/hdb.cpp:269:12: warning: this statement may fall through
[-Wimplicit-fallthrough=]
       fatal("unknown element type");
       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/preproc/grn/hdb.cpp:271:3: note: here
   default:
###







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52335>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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