Will, Patch applied then. Thanks.
On Fri, May 2, 2008 at 10:32 PM, William Cohen <[EMAIL PROTECTED]> wrote: > stephane eranian wrote: > > > Will, > > > > Does this pass if we instead say: > > > > - write(pr[1], "c", 1); > > - read(pw[0], &c, 1); > > + (void)write(pr[1], "c", 1); > > + (void)read(pw[0], &c, 1); > > > > Hi Stephane: > > The typecasting doesn't remove the issue. With the suggested patch, still > got the following error messages: > > gcc -O2 -g -Wall -Werror > -I/home/wcohen/rh-rpms/BUILD/libpfm-3.4/examples/../include -D_GNU_SOURCE > -I/home/wcohen/rh-rpms/BUILD/libpfm-3.4/examples/../include -pthread -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -c self_pipe.c > cc1: warnings being treated as errors > self_pipe.c: In function 'main': > self_pipe.c:315: error: ignoring return value of 'write', declared with > attribute warn_unused_result > self_pipe.c:316: error: ignoring return value of 'read', declared with > attribute warn_unused_result > make[1]: *** [self_pipe.o] Error 1 > make[1]: Leaving directory `/home/wcohen/rh-rpms/BUILD/libpfm-3.4/examples' > make: *** [all] Error 2 > > > -Will > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ perfmon2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
