#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): I've also added a check for __ELF__ since I believe it only makes sense in that context. I can't seem to find a clear note on exactly when the visibility attribute was added, but I see a number of discussions stating it as >= GCC 3.3 (I accidentally made it >= 3.2 instead of just > 3.2) There is a discussion about it on the zlib mailing list for instance: http://mail.madler.net/pipermail/zlib- devel_madler.net/2012-February/002773.html Updated the patch with these 2 changes. -- Ticket URL: <http://dev.haiku-os.org/ticket/8882#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.