On Wed, 31 Dec 2008 23:58:08 +0900,
Naruto TAKAHASHI <[email protected]> wrote:
Hi Takahashi-san
Thanks for your advice.
> Please try to add "-fno-strict-aliasing" option of CFLAGS.
Yes, this works just fine. This helped me compile eina successfully.
Thanks a lot.
Regards.
--Yasufumi
>
> Best Regards.
>
> -=-=-=-=-=-=-=-=-
> Naruto TAKAHASHI
> [email protected]
>
>
> At Fri, 19 Dec 2008 21:40:12 +0900 (JST),
> Yasufumi Haga wrote:
>>
>> Hi all
>>
>> I updated the sources of eina to revision 38223 and tried to
>> compile
>> it, but it failed with the following error:
>>
>> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../..
>> -I../../src/include
>> -I../../src/include -DPACKAGE_BIN_DIR=\"/usr/local/e17/bin\"
>> -DPACKAGE_LIB_DIR=\"/usr/local/e17/lib\"
>> -DPACKAGE_DATA_DIR=\"/usr/local/e17/share/eina\" -Wall -W -Werror
>> -I/opt/fumi/dbus/include/dbus-1.0
>> -I/opt/fumi/libpng/include/libpng12
>> -I/opt/fumi/glib/include/glib-2.0
>> -I/opt/fumi/glib/include/gio-unix-2.0
>> -I/opt/fumi/atk/include/atk-1.0
>> -I/opt/fumi/pixman/include -I/opt/fumi/cairo/include
>> -I/opt/fumi/pango/include -I/opt/fumi/jasper/include
>> -I/opt/fumi/gtk+/include -I/opt/fumi/babl/include
>> -I/opt/fumi/gegl/include -I/opt/fumi/gettext/include
>> -I/opt/fumi/gimp/include -I/opt/fumi/imagemagick/include/ -g -O2
>> -MT
>> eina_hash.lo -MD -MP -MF .deps/eina_hash.Tpo -c eina_hash.c -fPIC
>> -DPIC -o .libs/eina_hash.o
>> eina_hash.c: In function `_eina_hash_rbtree_each':
>> eina_hash.c:273: warning: dereferencing type-punned pointer will
>> break strict-aliasing rules
>> make[3]: *** [eina_hash.lo] Error 1
>> make[3]: Leaving directory
>> `/home/fumi/src/e17/e/trunk/eina/src/lib'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/fumi/src/e17/e/trunk/eina/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/fumi/src/e17/e/trunk/eina'
>> make: *** [all] Error 2
>>
>> Are there any ways to compile eina successfully? Does this error
>> has
>> anything to do with gcc3 which I'm using?
>>
>> Thanks in advance.
>> --Yasufumi
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> enlightenment-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
------------------------------------------------------------------------------
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users