On Sun, 4 Mar 2012, Albert Astals Cid wrote:

El Divendres, 2 de març de 2012, a les 11:13:24, Peter Breitenlohner va
escriure:

I just see that poppler-config.h in the brand new 0.19.0 now defines
POPPLER_VERSION.  Thanks.  This is, however, #define'd as 0.19.0 and not as
"0.19.0".  Is this a mistake or intentional?

This is intentional.

Albert,

please reconsider. For poppler-0.19.1 there are
  cpp/poppler-version.h in the build tree, installed as
  $(includedir)/poppler/cpp/poppler-version.h, with
    #define POPPLER_VERSION "0.19.1"
  and poppler/poppler-config.h in the build tree, installed as
  $(includedir)/poppler/poppler-config.h, with
    #ifndef POPPLER_VERSION
    #define POPPLER_VERSION 0.19.1
    #endif

Thus POPPLER_VERSION is defined differently from <poppler-version.h> or from
<poppler-config.h> (without <poppler-version.h>).  IMHO this is somewhat
inconsistent.

Regards
Peter Breitenlohner <[email protected]>
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to