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

Instantiate lexers with std::string, not flex_string #46

Merged
merged 1 commit into from
Jan 12, 2020

Conversation

jefftrull
Copy link
Collaborator

@jefftrull jefftrull commented May 3, 2019

Two samples fail at the link stage looking for a different new_lexer_gen<>::new_lexer() than we provide.

AFAICT the type of the lexer is dependent on what string was used to construct the wave context object and that propagates down. Updating these files fixes the error.

The main programs of these samples use std::string to instantiate
their context object, which propagates down to the type of the lexer.
The manual instantiations use BOOST_WAVE_STRINGTYPE a.k.a flex_string
and so do not satisfy the missing symbols, giving a link error.
@jefftrull
Copy link
Collaborator Author

I think this resolves TRAC 6588

Copy link
Collaborator

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

LGTM.

@jefftrull jefftrull merged commit c530f72 into boostorg:develop Jan 12, 2020
@jefftrull jefftrull deleted the bugfix/instantiate_stdstring branch January 12, 2020 06:02
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.

2 participants