-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
21
-
generic
-
generic
The following error takes place during JDK build with HarfBuzz version 7.0.1 on Solaris platform:
libharfbuzz/hb-paint.h, line 620: error: trailing "," prohibited in enum declaration (E_TRAILING_COMMA_IN_ENUM)
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise
libharfbuzz/hb-paint.h, line 620: Error: Identifier expected instead of "}".
1 Error(s) detected.
The root cause of the error is that hb-paint.h has the enum with trailing comma which was removed in upstream (HarfBuzz source repo):
https://github.com/harfbuzz/harfbuzz/discussions/4188
https://github.com/harfbuzz/harfbuzz/commit/04a47932a3844f7e73e3af8b05fb98c8b54fb779
libharfbuzz/hb-paint.h, line 620: error: trailing "," prohibited in enum declaration (E_TRAILING_COMMA_IN_ENUM)
CC: Warning: Option -fsingle passed to ld, if ld is invoked, ignored otherwise
libharfbuzz/hb-paint.h, line 620: Error: Identifier expected instead of "}".
1 Error(s) detected.
The root cause of the error is that hb-paint.h has the enum with trailing comma which was removed in upstream (HarfBuzz source repo):
https://github.com/harfbuzz/harfbuzz/discussions/4188
https://github.com/harfbuzz/harfbuzz/commit/04a47932a3844f7e73e3af8b05fb98c8b54fb779
- duplicates
-
JDK-8307301 Update HarfBuzz to 7.2.0
- Resolved
- links to
-
Review openjdk/jdk/13328