Your message dated Sat, 22 Apr 2006 11:55:58 -0400
with message-id <[EMAIL PROTECTED]>
and subject line ipe now uses %z
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ipe
Version: 6.0pre26-2
Severity: serious
Tags: patch

When building 'ipe' on amd64/unstable, I get the following error:

make[2]: Entering directory `/ipe-6.0pre26/src/ipetopng'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -Werror  -DQT_NO_CAST_FROM_ASCII 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 
-I../include -I../ipemodel -I../ipecanvas -I../../build/moc/ipetopng -I. -o 
../../build/obj/ipetopng/ipetopng.o ipetopng.cpp
cc1plus: warnings being treated as errors
ipetopng.cpp: In function 'int topng(const char*, const char*, int, double)':
ipetopng.cpp:77: warning: format '%d' expects type 'int', but argument 3 has 
type 'size_t'
make[2]: *** [../../build/obj/ipetopng/ipetopng.o] Error 1
make[2]: Leaving directory `/ipe-6.0pre26/src/ipetopng'

With the attached patch 'ipe' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ipe-6.0pre26/src/ipetopng/ipetopng.cpp 
./src/ipetopng/ipetopng.cpp
--- ../tmp-orig/ipe-6.0pre26/src/ipetopng/ipetopng.cpp  2005-12-14 
04:45:59.000000000 +0000
+++ ./src/ipetopng/ipetopng.cpp 2006-04-11 08:24:57.000000000 +0000
@@ -73,7 +73,7 @@
   }
   if (pageNum < 1 || pageNum > int(doc->size())) {
     fprintf(stderr,
-           "The document contains %d pages, cannot convert page %d.\n",
+           "The document contains %ld pages, cannot convert page %d.\n",
            doc->size(), pageNum);
     delete doc;
     return 1;


--- End Message ---
--- Begin Message ---
Howdy,

Ipe 6.0pre26-3 changed to use %z when printing size_t values and ipe
is now building on all architectures, so I'm closing this bug.

-Steve

--- End Message ---

Reply via email to