kermitt2 / pdfalto

PDF to XML ALTO file converter
GNU General Public License v2.0
209 stars 67 forks source link

Got warning: ISO C++ forbids converting a string constant to ‘char*’ #62

Open rhouse opened 5 years ago

rhouse commented 5 years ago

Compiling with gnu 5.4.0, got this warning:

[ 15%] Building CXX object xpdf-4.00/xpdf/CMakeFiles/xpdf.dir/GlobalParams.cc.o In file included from /home/roger/higgins-crowley/pdfalto/pdfalto/xpdf-4.00/xpdf/GlobalParams.cc:64:0: /home/roger/higgins-crowley/pdfalto/pdfalto/xpdf-4.00/xpdf/UnicodeToUnicodeFontRules.h:29:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^

kermitt2 commented 3 years ago

Yes I have the same, it's an external dependency, so we can't do anything.