[haiku-bugs] Re: [Haiku] #12662: Silence warnings in png translator build to enable -Werror

  • From: "MichaelCrawford" <trac@xxxxxxxxxxxx>
  • Date: Thu, 25 Feb 2016 18:31:45 -0000

#12662: Silence warnings in png translator build to enable -Werror
-------------------------------+----------------------------
   Reporter:  MichaelCrawford  |      Owner:  nobody
       Type:  enhancement      |     Status:  new
   Priority:  normal           |  Milestone:  Unscheduled
  Component:  - General        |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:  9460
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by MichaelCrawford):

 Added "virtual" to certain variables to silence warnings about clobbering
 by longjmp.  Also added const_cast when passing non-virtual function
 arguments not for declaring non-constness, but for stripping the virtual.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12662#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: