CSCG / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

return value not used compile error #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download current SVN (as-of Mar 16 2009 1400UTC)
2. ./configure
3. ./make

What is the expected output? What do you see instead?

gcc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -Werror -Os -g -O2 -MT
launcher.o -MD
-MP -MF .deps/launcher.Tpo -c -o launcher.o `test -f
'shellinabox/launcher.c' || echo
'./'`shellinabox/launcher.c
cc1: warnings being treated as errors
shellinabox/launcher.c: In function ‘launcherDaemon’:
shellinabox/launcher.c:1246: error: ignoring return value of ‘write’,
declared with
attribute warn_unused_result
make[1]: *** [launcher.o] Error 1
make[1]: Leaving directory `/usr/local/src/shellinabox/shellinabox-read-only'
make: *** [all] Error 2
root@6m:/usr/local/src/shellinabox/shellinabox-read-only# 

What version of the product are you using? On what operating system?

Current SVN Mar 16 Ubuntu 8.10

Please provide any additional information below.

May be related to other build issue that was fixed.

Original issue reported on code.google.com by TomOeh...@gmail.com on 16 Mar 2009 at 2:48

GoogleCodeExporter commented 9 years ago
Please check out the newest version from SVN. This warning should be fixed, now.

Original comment by zod...@gmail.com on 16 Mar 2009 at 3:12