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

Compilation throws "forbidden conversion" warnings #40

Open
rdupas opened this issue Aug 15, 2019 · 0 comments
Open

Compilation throws "forbidden conversion" warnings #40

rdupas opened this issue Aug 15, 2019 · 0 comments

Comments

@rdupas
Copy link

rdupas commented Aug 15, 2019

g++ version: g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
pdf2json version: 0.70
chunck of the trace:

ImgOutputDev.cc:833:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   glMetaVars->append(new HtmlMetaVar("generator", "pdf2json 0.70"));
                                                                  ^
ImgOutputDev.cc:833:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ImgOutputDev.cc:834:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if( author ) glMetaVars->append(new HtmlMetaVar("author", author));
                                                                   ^
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

1 participant