Hi! Actually the problem is that you need to process return value from system function on latest libc, I fixed some things on 34639bfd7e77dab423fb3ab79cbd7e6c4227bddd, but probably there are more cases...
Regards, Maxim On Sat, Jul 4, 2009 at 7:42 PM, Martin Gysel<[email protected]> wrote: > Hi > > I get following error when compiling addrdb (works fine when removing > -Werror): > (git rev 693692a108bb1b957b207c4f3af0597d901be8b4) > > ~/workspace/linux-zigbee2/addrdb $ make > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I../include -g3 -Wall -Werror -g -O2 -MT coord-config-lex.lo -MD > -MP -MF .deps/coord-config-lex.Tpo -c -o coord-config-lex.lo > coord-config-lex.c > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g3 -Wall > -Werror -g -O2 -MT coord-config-lex.lo -MD -MP -MF > .deps/coord-config-lex.Tpo -c coord-config-lex.c -fPIC -DPIC -o > .libs/coord-config-lex.o > > cc1: warnings being treated as > errors > > coord-config-lex.c: In Funktion > »yylex«: > > coord-config-lex.l:56: Fehler: Der Rückgabewert von »fwrite«, der mit > dem Attribut warn_unused_result deklariert wurde, wird > ignoriert > make: *** [coord-config-lex.lo] Fehler 1 > > cheers > martin > > ------------------------------------------------------------------------------ > _______________________________________________ > Linux-zigbee-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
