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

Workaround for MSVC's string literal compiler limit. #473

Closed
wants to merge 1 commit into from
Closed

Workaround for MSVC's string literal compiler limit. #473

wants to merge 1 commit into from

Conversation

Qartar
Copy link
Contributor

@Qartar Qartar commented Jun 7, 2015

Conventional wisdom for this issue has been "don't make proto messages that have such long descriptors" but this issue also occurs for enums that have a large number of values with relatively long names. This seems like a valid usage model.

This code escapes the entire protobuf descriptor prior to embedding. More conservative checking could be applied at the cost of code complexity.

@Qartar Qartar closed this Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants