-
Type:
Bug
-
Status: Resolved
-
Priority:
P2
-
Resolution: Fixed
-
Affects Version/s: 11
-
Fix Version/s: 11
-
Component/s: client-libs
-
Labels:
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8205769 | 11.0.1 | Philip Race | P2 | Resolved | Fixed | team |
The upgrade to harfbuzz 1.7.6 included a workaround from
upstream for the __restrict keyword not being
supported in SunStudio 12.4.
Support for the __restrict keyword was added to CC in 12.5
A version-based test is one way to fix this.s
This is how you can test for __restrict being keyword rather than a predefined macro (which it was in gcc compatibility mode like -std=c++NN or -compat=g):
#if defined(__SUNPRO_CC) && (__SUNPRO_CC) >= 0x5140
// restrict supported
#else
// restrict unsupported
#endif
upstream for the __restrict keyword not being
supported in SunStudio 12.4.
Support for the __restrict keyword was added to CC in 12.5
A version-based test is one way to fix this.s
This is how you can test for __restrict being keyword rather than a predefined macro (which it was in gcc compatibility mode like -std=c++NN or -compat=g):
#if defined(__SUNPRO_CC) && (__SUNPRO_CC) >= 0x5140
// restrict supported
#else
// restrict unsupported
#endif
- backported by
-
JDK-8205769 Fix compilation error in harfbuzz 1.7.6 for Solaris Developer Studio 12.6
-
- Resolved
-
- relates to
-
JDK-8199530 Upgrade harfbuzz to the latest version (1.7.6)
-
- Resolved
-