Thanks. Commited!

On 5/19/07, Marcus Hüwe <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> today i tried to compile ephoto on openSUSE 10.2 (gcc version 4.1.220061115)
> but the build failed because ephoto is built with
> "-Wall -Werror ... -D_FORTIFY_SOURCE=2":
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include/ewl
> -I/usr/include/libexif   -Wall -Werror -O2 -g -m32 -march=i586 -mtune=i686
> -fmessage-length=0 -D_FORTIFY_SOURCE=2 -MT ephoto-ephoto.o -MD -MP -MF
> ".deps/ephoto-ephoto.Tpo" -c -o ephoto-ephoto.o `test -f 'ephoto.c' ||
> echo './'`ephoto.c; \
>         then mv -f ".deps/ephoto-ephoto.Tpo" ".deps/ephoto-ephoto.Po";
> else rm -f ".deps/ephoto-ephoto.Tpo"; exit 1; fi
>         cc1: warnings being treated as errors
>         ephoto.c: In function 'main':
>         ephoto.c:74: warning: ignoring return value of 'scanf', declared
> with attribute warn_unused_result
>         ephoto.c:115: warning: ignoring return value of 'scanf', declared
> with attribute warn_unused_result
>         ephoto.c:148: warning: ignoring return value of 'scanf', declared
> with attribute warn_unused_result
>         ephoto.c:214: warning: ignoring return value of 'scanf', declared
> with attribute warn_unused_result
>         ephoto.c:248: warning: ignoring return value of 'scanf', declared
> with attribute warn_unused_result
>         make[3]: *** [ephoto-ephoto.o] Error 1
>
> If you check the return value of each scanf() call everything is ok.
>
> A patch is attached.
>
>
> Marcus
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to