[hafqa] [hafqa] [Bug 1137] New: Compilation error in osso-gwobex

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Mon Mar 12 13:10:59 EET 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1137

           Summary: Compilation error in osso-gwobex
           Product: haf
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libosso
        AssignedTo: kimmo.hamalainen at nokia.com
        ReportedBy: hadess at hadess.net
         QAContact: hafqa at maemo.org


gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall -Wunused -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -Werror -c obex-priv.c  -fPIC -DPIC -o .libs/obex-priv.o
cc1: warnings being treated as errors
obex-priv.c: In function 'obex_readstream':
obex-priv.c:384: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
make[4]: *** [obex-priv.lo] Error 1
make[4]: Leaving directory
`/home/bnocera/Projects/packages/BUILD/gnome-vfs-obexftp-0.2/osso-gwobex/src'
make[3]: *** [all-recursive] Error 1

It should check for the retval of the write call, and possibly error out, or try
harder. That code is still the same in SVN.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list