[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #6379 [- Select a component]: ignored return value warnings in OpenBSD_malloc



#6379: ignored return value warnings in OpenBSD_malloc
----------------------------------+-----------------------------------------
 Reporter:  Sebastian             |          Owner:     
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  - Select a component  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------
 {{{
 OpenBSD_malloc_Linux.c: In function 'wrterror':
 OpenBSD_malloc_Linux.c:459: error: ignoring return value of 'writev',
 declared with attribute warn_unused_result
 OpenBSD_malloc_Linux.c: In function 'wrtwarning':
 OpenBSD_malloc_Linux.c:493: error: ignoring return value of 'writev',
 declared with attribute warn_unused_result
 OpenBSD_malloc_Linux.c: In function 'memalign':
 OpenBSD_malloc_Linux.c:2008: error: ignoring return value of
 'posix_memalign', declared with attribute warn_unused_result
 OpenBSD_malloc_Linux.c: In function 'valloc':
 OpenBSD_malloc_Linux.c:2015: error: ignoring return value of
 'posix_memalign', declared with attribute warn_unused_result
 }}}
 when configured with
 {{{
 ./configure --disable-asciidoc --with-libevent-dir=/home/karsten/libs/
 --with-openssl-dir=/home/karsten/libs --with-zlib-dir=/home/karsten/libs
 --enable-static-openssl --enable-static-libevent --enable-gcc-warnings
 --enable-openbsd-malloc
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6379>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs