[Gambas-bugtracker] Bug #1342: Unable to compile gb.pdf

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Jun 3 21:28:03 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1342&from=L21haW4-

Fabien BODARD reported a new bug.

Summary
-------

Unable to compile gb.pdf

Type             : Bug
Priority         : High
Gambas version   : Master
Product          : GUI components


Description
-----------

fabien at fabien-TERRA-MOBILE-1749S ~/Documents/gambas/gb.pdf $ make
make  all-recursive
make[1] : on entre dans le répertoire « /home/fabien/Documents/gambas/gb.pdf »
Making all in src
make[2] : on entre dans le répertoire « /home/fabien/Documents/gambas/gb.pdf/src »
  CXX      gb_pdf_la-CPdfDocument.lo
CPdfDocument.cpp: In function ‘void aux_return_string_info(void*, const char*)’:
CPdfDocument.cpp:152:35: error: passing ‘const GooString’ as ‘this’ argument discards qualifiers [-fpermissive]
   if (goo_value->hasUnicodeMarker())
                                   ^
In file included from /usr/include/poppler/Object.h:42:0,
                 from /usr/include/poppler/XRef.h:41,
                 from /usr/include/poppler/PDFDoc.h:46,
                 from CPdfDocument.h:29,
                 from CPdfDocument.cpp:26:
/usr/include/poppler/goo/GooString.h:163:9: note:   in call to ‘GBool GooString::hasUnicodeMarker()’
   GBool hasUnicodeMarker(void);
         ^
CPdfDocument.cpp: In function ‘void aux_return_date_info(void*, const char*)’:
CPdfDocument.cpp:196:29: error: passing ‘const GooString’ as ‘this’ argument discards qualifiers [-fpermissive]
   if (goo->hasUnicodeMarker())
                             ^
In file included from /usr/include/poppler/Object.h:42:0,
                 from /usr/include/poppler/XRef.h:41,
                 from /usr/include/poppler/PDFDoc.h:46,
                 from CPdfDocument.h:29,
                 from CPdfDocument.cpp:26:
/usr/include/poppler/goo/GooString.h:163:9: note:   in call to ‘GBool GooString::hasUnicodeMarker()’
   GBool hasUnicodeMarker(void);
         ^
CPdfDocument.cpp: In function ‘char* aux_get_target_from_action(LinkAction*)’:
CPdfDocument.cpp:334:28: error: passing ‘const GooString’ as ‘this’ argument discards qualifiers [-fpermissive]
  if (tmp->hasUnicodeMarker())
                            ^
In file included from /usr/include/poppler/Object.h:42:0,
                 from /usr/include/poppler/XRef.h:41,
                 from /usr/include/poppler/PDFDoc.h:46,
                 from CPdfDocument.h:29,
                 from CPdfDocument.cpp:26:
/usr/include/poppler/goo/GooString.h:163:9: note:   in call to ‘GBool GooString::hasUnicodeMarker()’
   GBool hasUnicodeMarker(void);
         ^
Makefile:508 : la recette pour la cible « gb_pdf_la-CPdfDocument.lo » a échouée
make[2]: *** [gb_pdf_la-CPdfDocument.lo] Erreur 1
make[2] : on quitte le répertoire « /home/fabien/Documents/gambas/gb.pdf/src »
Makefile:436 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/fabien/Documents/gambas/gb.pdf »
Makefile:368 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
fabien at fabien-TERRA-MOBILE-1749S ~/Documents/gambas/gb.pdf $






More information about the Bugtracker mailing list