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-21461 uprops.h: remove unused gc macros #1555

Merged

Conversation

markusicu
Copy link
Member

and some underused character constants

https://unicode-org.atlassian.net/browse/ICU-21461

It turned out that the gc macros were not used. (They probably were used some time ago.)

There were also some adjacent character constants (as enum constants) that are less useful now that we can use Unicode character literals. I removed some that were used in only one or two places.

and some underused character constants
Copy link
Contributor

@echeran echeran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jefgen jefgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for cleaning this up! 😄

@markusicu markusicu merged commit 5a7a8f0 into unicode-org:master Feb 2, 2021
@markusicu markusicu deleted the 21461-uprops-reserved-macros branch February 2, 2021 02:46
jefgen added a commit to microsoft/icu that referenced this pull request Mar 5, 2021
This change cherry-picks the upstream fix to remove macros that use
names which are reserved by the C++ standard.

There are upcoming changes to the MSVC STL headers which will use some
of these reserved names, which causes conflicts.

Upstream PR:
unicode-org/icu#1555
Upstream ticket:
https://unicode-org.atlassian.net/browse/ICU-21461
jefgen added a commit to microsoft/icu that referenced this pull request Mar 5, 2021
This change cherry-picks the upstream fix to remove macros that use
names which are reserved by the C++ standard.

There are upcoming changes to the MSVC STL headers which might use some
of these reserved names, which causes conflicts.

Upstream PR:
unicode-org/icu#1555
Upstream ticket:
https://unicode-org.atlassian.net/browse/ICU-21461
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

Successfully merging this pull request may close these issues.

3 participants