warnings are warnings, be warned but don't be scared ;)

j

2009/5/22 sangprabv <[email protected]>:
> Hi,
> I received these warnings during make:
>
> gwlib/gwthread-pthread.c: In function ‘gwthread_wakeup’:
> gwlib/gwthread-pthread.c:679: warning: ignoring return value of ‘write’,
> declared with attribute warn_unused_result
>
> gwlib/utils.c: In function ‘become_daemon’:
> gwlib/utils.c:219: warning: ignoring return value of ‘dup’, declared
> with attribute warn_unused_result
> gwlib/utils.c:220: warning: ignoring return value of ‘dup’, declared
> with attribute warn_unused_result
> gwlib/utils.c:222: warning: ignoring return value of ‘chdir’, declared
> with attribute warn_unused_result
>
> utils/start-stop-daemon.c: In function ‘main’:
> utils/start-stop-daemon.c:918: warning: ignoring return value of
> ‘chdir’, declared with attribute warn_unused_result
> utils/start-stop-daemon.c:926: warning: ignoring return value of ‘dup’,
> declared with attribute warn_unused_result
> utils/start-stop-daemon.c:927: warning: ignoring return value of ‘dup’,
> declared with attribute warn_unused_result
>
> Is it normal?
>
>
>
> Willy
>
>
>
>
>



-- 
Julien Buratto

Reply via email to