On Fri, Dec 19, 2008, Mathieu Malaterre wrote:
> class GlobalParams {
> public:
> // Initialize the global parameters by attempting to read a config
> // file.
> - GlobalParams();
> + GlobalParams(char *cfgFileName);
> ~GlobalParams();
> One cannot simple instanciate a GlobalParams anymore. I cannot even
> test on the POPPLER_VERSION has it is only used during compilation but
> never in any .h installed file.
So why don't you write a test before your build which would instanciate
GlobalParams with no args or a cfgFileName and set some
HAVE_GLOBALPARAMS_CONFIG flag?
> Please set POPPLER_VERSION !
It's bad style to use versions as proxies; if you really want to get
the version, use pkg-config.
Or are you trying to this at runtime?
--
Loïc Minier
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]