[haiku-bugs] [Haiku] #12839: [Patch] headers/private/print/PictureIterator.h: fix header guard spelling

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Fri, 01 Jul 2016 21:23:37 -0000

#12839: [Patch] headers/private/print/PictureIterator.h: fix header guard 
spelling
------------------------+------------------------------
 Reporter:  mt          |        Owner:  nobody
     Type:  bug         |       Status:  new
 Priority:  normal      |    Milestone:  Unscheduled
Component:  Kits        |      Version:  R1/Development
 Keywords:  kits/print  |   Blocked By:
 Blocking:              |  Has a Patch:  0
 Platform:  All         |
------------------------+------------------------------
 Fix header guard spelling as clang point out.

 {{{
 In file included from
 /home/haiku/haiku/haiku/src/kits/print/PicturePrinter.cpp:32:
 In file included from
 /home/haiku/haiku/haiku/headers/private/print/PicturePrinter.h:33:
 /home/haiku/haiku/haiku/headers/private/print/PictureIterator.h:32:9:
 warning: '_PICTURE_ITERATOR_H' is used as a header guard here, followed by
 #define of a different macro [-Wheader-guard]
 #ifndef _PICTURE_ITERATOR_H
         ^~~~~~~~~~~~~~~~~~~
 /home/haiku/haiku/haiku/headers/private/print/PictureIterator.h:33:9:
 note: '_PICTURE_TIERATOR_H' is defined here; did you mean
 '_PICTURE_ITERATOR_H'?
 #define _PICTURE_TIERATOR_H
         ^~~~~~~~~~~~~~~~~~~
         _PICTURE_ITERATOR_H
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/12839>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: