pdfalto icon indicating copy to clipboard operation
pdfalto copied to clipboard

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

Open rhouse opened this issue 4 years ago • 1 comments

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] }; ^

rhouse avatar Jul 18 '19 21:07 rhouse

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

kermitt2 avatar Apr 07 '21 10:04 kermitt2