[Gambas-user] [Gambas Bug Tracker] Bug #1318: ERROR with Commit fdf8fa65

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed May 16 03:21:54 CEST 2018


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

Comment #9 by vuott VUOTT:

No, I can not, because I obtain:



make[4]: Entering directory '/home/vuott/gambasdevel/gb.pdf/src'
  CXX      gb_pdf_la-main.lo
  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: recipe for target 'gb_pdf_la-CPdfDocument.lo' failed
make[4]: *** [gb_pdf_la-CPdfDocument.lo] Error 1
make[4]: Leaving directory '/home/vuott/gambasdevel/gb.pdf/src'
Makefile:436: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/vuott/gambasdevel/gb.pdf'
Makefile:368: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/vuott/gambasdevel/gb.pdf'
Makefile:439: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/vuott/gambasdevel'
Makefile:380: recipe for target 'all' failed
make: *** [all] Error 2

vuott VUOTT changed the state of the bug to: Accepted.




More information about the User mailing list