[haiku-bugs] Re: [Haiku] #8882: add gcc version check to gl.h to avoid warnings

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 13 Aug 2012 16:49:30 -0000

#8882: add gcc version check to gl.h to avoid warnings
-------------------------------+----------------------------
   Reporter:  jstressman       |      Owner:  korli
       Type:  bug              |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/OpenGL Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  1                |   Platform:  All
-------------------------------+----------------------------

Comment (by pulkomandy):

 The patch looks fine (did you check the actual verson when the attribute
 was introduced in gcc ?)

 Since this is an OpenGL header, it now lives in an optional package
 however. We may either want to patch it in our port or upstream the change
 to Mesa (if it's not already done there).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8882#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: