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

Missing stringstream include #24

Closed
steve-cox opened this issue Nov 18, 2019 · 3 comments
Closed

Missing stringstream include #24

steve-cox opened this issue Nov 18, 2019 · 3 comments

Comments

@steve-cox
Copy link

Hi,

I'm finding I'm getting compilation errors in claims.cpp and tools.cpp:

josepp/src/claims.cpp:63:22: error: invalid use of incomplete type ‘std::stringstream’ {aka ‘class std::__cxx11::basic_stringstream’}
josepp/src/tools.cpp: In function ‘Json::Value jose::unmarshal(const string&)’:
/home/steve/development/p4root/im/extlib/josepp/src/tools.cpp:45:22: error: invalid use of incomplete type ‘std::stringstream’ {aka ‘class std::__cxx11::basic_stringstream’}

Not sure why I get these and you don't (possibly unique to my Fedora 29?), but it's easily fixed by adding the include in both files.

Adding the include in both files makes for a clean build/install.

Steve.

@troian
Copy link
Owner

troian commented Nov 18, 2019

Can you make PR please?

@kakaly
Copy link
Contributor

kakaly commented Jan 3, 2020

Made a PR for this issue #25

@troian
Copy link
Owner

troian commented Jan 3, 2020

merged

@troian troian closed this as completed Jan 3, 2020
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

3 participants