[haiku-bugs] Re: [Haiku] #12756: [Patch] kits/print/PicturePrinter.cpp: fix gcc6 build

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Sun, 08 May 2016 12:04:42 -0000

#12756: [Patch] kits/print/PicturePrinter.cpp: fix gcc6 build
------------------------+----------------------------
   Reporter:  mt        |      Owner:  phoudoin
       Type:  bug       |     Status:  new
   Priority:  normal    |  Milestone:  Unscheduled
  Component:  Printing  |    Version:  R1/Development
 Resolution:            |   Keywords:  kits/print
 Blocked By:            |   Blocking:
Has a Patch:  1         |   Platform:  All
------------------------+----------------------------

Comment (by mt):

 Replying to [comment:2 korli]:

This doesn't fit our coding style, and it looks wrong anyway.
 "Print("none");" and "Cr();" are meant to be in the same block, aren't?

 Hi, korli. I think PicturePrinter::SetClippingRects() generates
 "SetClippingRects " + Cr or "SetClippingRects none " + Cr, so I think Cr()
 is not in if block.

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

Other related posts: