Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICU 76 appears to be incompatible #228

Open
rmottola opened this issue Dec 27, 2024 · 3 comments
Open

ICU 76 appears to be incompatible #228

rmottola opened this issue Dec 27, 2024 · 3 comments

Comments

@rmottola
Copy link
Owner

upgrade from ICU 74 to 76 makes system library ICU not build on Mac

@barracuda156
Copy link

Could you please add the log, for the reference? (The issue is relevant for MacPorts builds, unless we want to have a separate legacy ICU just for this.)

@rmottola
Copy link
Owner Author

@barracuda156 I discovered indeed while working on my Mac and importing patches, 74->76 . Didn't test yet elsewhere, holiday period and concentrated on some bugs, including Linux apparent regression. Will do!
Is there an ArcticFox build for MacPorts or is it a general MacPorts interest?

@rmottola
Copy link
Owner Author

here it is, @barracuda156

1:02.83 In file included from /opt/local/include/unicode/utypes.h:39:
 1:02.83 Warning: -Wc++17-extensions in /opt/local/include/unicode/uversion.h: nested namespace definition is a C++17 extension; define each namespace separately
 1:02.83 /opt/local/include/unicode/uversion.h:167:11: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]
 1:02.83 namespace U_HEADER_ONLY_NAMESPACE {}
 1:02.83           ^
 1:02.83 /opt/local/include/unicode/uversion.h:165:48: note: expanded from macro 'U_HEADER_ONLY_NAMESPACE'
 1:02.83 #define U_HEADER_ONLY_NAMESPACE U_ICU_NAMESPACE::U_HEADER_NESTED_NAMESPACE
 1:02.83                                                ^
 1:02.83 In file included from /Users/multix/code/Arctic-Fox/obj-x86_64-apple-darwin19.6.0/layout/forms/Unified_cpp_layout_forms0.cpp:128:
 1:02.83 In file included from /Users/multix/code/Arctic-Fox/layout/forms/nsNumberControlFrame.cpp:9:
 1:02.83 In file included from /Users/multix/code/Arctic-Fox/obj-x86_64-apple-darwin19.6.0/dist/include/ICUUtils.h:18:
 1:02.83 In file included from /opt/local/include/unicode/unum.h:21:
 1:02.83 In file included from /opt/local/include/unicode/uloc.h:27:
 1:02.83 In file included from /opt/local/include/unicode/uenum.h:25:
 1:02.83 /opt/local/include/unicode/localpointer.h:561:26: error: 'auto' not allowed in template parameter until C++17
 1:02.83 template <typename Type, auto closeFunction>
 1:02.83                          ^~~~
 1:02.83 In file included from /Users/multix/code/Arctic-Fox/obj-x86_64-apple-darwin19.6.0/layout/forms/Unified_cpp_layout_forms0.cpp:128:
 1:02.83 In file included from /Users/multix/code/Arctic-Fox/layout/forms/nsNumberControlFrame.cpp:9:
 1:02.83 In file included from /Users/multix/code/Arctic-Fox/obj-x86_64-apple-darwin19.6.0/dist/include/ICUUtils.h:18:
 1:02.83 In file included from /opt/local/include/unicode/unum.h:21:
 1:02.83 In file included from /opt/local/include/unicode/uloc.h:27:
 1:02.83 /opt/local/include/unicode/uenum.h:69:69: error: value of type 'void (UEnumeration *)' is not implicitly convertible to 'int'
 1:02.83 U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
 1:02.84                                                                     ^~~~~~~~~~~
 1:02.84 /opt/local/include/unicode/urename.h:948:21: note: expanded from macro 'uenum_close'
 1:02.84 #define uenum_close U_ICU_ENTRY_POINT_RENAME(uenum_close)
 1:02.84                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1:02.84 /opt/local/include/unicode/uvernum.h:123:47: note: expanded from macro 'U_ICU_ENTRY_POINT_RENAME'
 1:02.84 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
 1:02.84                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1:02.84 /opt/local/include/unicode/uvernum.h:122:51: note: expanded from macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
 1:02.84 #       define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
 1:02.84                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1:02.84 /opt/local/include/unicode/uvernum.h:121:50: note: expanded from macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
 1:02.84 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
 1:02.84                                                  ^~~~~~

icu76-AF.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants