mousepad, warnings treated as errors

Mike Massonnet mike.massonnet at gmail.com
Thu Apr 20 07:04:32 CEST 2006


Hello,

I tried to compile mousepad but had several warnings, caused of incorrect 
types. As I didn't know how to "not treat warnings as errors" I modified the 
sources (I join a diff).

The typical warning was:
cc1: warnings being treated as errors
file.c: In function ‘file_save_real’:
file.c:145: warning: pointer targets in passing argument 5 of ‘g_convert’ 
differ in signedness
file.c:145: warning: pointer targets in passing argument 6 of ‘g_convert’ 
differ in signedness
make[2]: *** [mousepad-file.o] Erreur 1
make[2]: quittant le répertoire « /home/mike/devel/xfce4/trunk/mousepad/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/mike/devel/xfce4/trunk/mousepad »
make: *** [all] Erreur 2


Cheers,
mmassonnet.
-- 
 http://massonnet.org/                                          ,-.
                                     Mike Massonnet     ,      ( {o\
 GnuPG 0--" 1024D/F8C80F97                              {`"=,___) (`~
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97      \  ,_.-   )
                                                    ~^~^~^`- ~^ ~^ '~^~^~^~
  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: types.patch
Type: text/x-diff
Size: 1385 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060420/a006d411/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060420/a006d411/attachment.pgp>


More information about the Xfce4-dev mailing list