In libpoppler-dev there is a minor problem. The function declaration of Object::dictLookup and Object::dictLookupNF ist In libpoppler-dev: Package: libpoppler-dev Architecture: amd64 Source: poppler in Ubuntu release: Description: Ubuntu 11.04, Release: 11.04 is a minor coding style bug. The function declaration("Object.h", line 216): Object *dictLookup(char *key, Object *obj, std::set<int> *fetchOriginatorNums = NULL); Object *dictLookupNF(char *key, Object *obj); is not conforming to C++ standards. The first argument key is constant, so if providing a constant string via "somestring" one gets a compile time warning. The same is true for ("Dict.h", line 75): Object *lookup(char *key, Object *obj, std::set<int> *fetchOriginatorNums = NULL); Object *lookupNF(char *key, Object *obj); Later on in the code it is correctly a "const char *". Please fix to get rid of this annoying warning. Do you need anything else?
Sorry, I forgot to mention that this is version 0.16.4-0ubuntu1 I am using. As far as I can see, the newest release 0.16.7 contains the same problem.
OK, I just checked the unstable release 0.17.1. Same problem there.
This has been discussed again and again and again. You have two options: a) Do not use poppler internals but one of the frontends as we suggest b) Use -Wno-write-strings
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.