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

  • From: "jstressman" <trac@xxxxxxxxxxxx>
  • Date: Mon, 13 Aug 2012 19:51:39 -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 jstressman):

 If it matters, Mesa 7.11.2 already has a check added.

 {{{
 #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) &&
 (__SUNPRO_C >= 0x590))
 }}}

 and our line is currently as follows:

 {{{
 #elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
 }}}

 So you could say it's already been upstreamed. I guess I just took a more
 complicated/specific route?

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

Other related posts: