https://bugs.freedesktop.org/show_bug.cgi?id=77749
Priority: medium
Bug ID: 77749
Assignee: [email protected]
Summary: PRAGMA_EXPORT_SUPPORTED defined incorrectly on OS X
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Mesa core
Product: Mesa
gl.h and osmesa.h define PRAGMA_EXPORT_SUPPORTED and then use "pragma export
on", "pragma export off" if that is defined.
#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__)
# define PRAGMA_EXPORT_SUPPORTED 1
#endif
On my mac, this ends up being true somehow (I suppose something ends up
defining __QUICKDRAW__), and then clang warns
../../third_party/mesa/src/include/GL/gl.h:124:9: warning: unknown pragma
ignored [-Wunknown-pragmas]
#pragma export on
^
It looks like this is only used for old platforms, so I'd suggest just removing
the whole "pragma export" stuff.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev