I'm not convinced it's a gcc-3.3 v. gcc-3.4 issue...  I think it's a question
of the size of ssize_t and whether it's the same size as an int.  Considering
that we only every write up to an int length, I would suggest you just add
(int) to cast the 'written' variables in the error printf.

I'll commit this change to SVN once my other builds complete and I
can try it.

-derek

Quoting David Reiser <[EMAIL PROTECTED]>:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -I../../lib/glib26 - I /sw/include/g-wrap -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -DORBIT2=1 -I/sw/include/gconf/2 -I/sw/include/orbit-2.0 -I/ sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 - I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 - I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/ glib-2.0 -I/sw/lib/glib-2.0/include -g -Wall -Wunused -Wmissing- prototypes -Wmissing-declarations -Werror -MT gnc-gkeyfile-utils.lo - MD -MP -MF .deps/gnc-gkeyfile-utils.Tpo -c gnc-gkeyfile-utils.c -fno- common -DPIC -o .libs/gnc-gkeyfile-utils.o
gnc-gkeyfile-utils.c: In function `gnc_key_file_save_to_file':
gnc-gkeyfile-utils.c:126: warning: int format, ssize_t arg (arg 6)
gnc-gkeyfile-utils.c:129: warning: int format, ssize_t arg (arg 6)
make[4]: *** [gnc-gkeyfile-utils.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm stuck with gcc 3.3 for the moment (can't get g-wrap 1.9 from fink yet, and I haven't tried independent compile...)
Mac OS X 10.4.3
--
David Reiser
[EMAIL PROTECTED]

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel




--
      Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
      Member, MIT Student Information Processing Board  (SIPB)
      URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      [EMAIL PROTECTED]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to