2008/11/10 Yasufumi Haga <[EMAIL PROTECTED]>:
> Hi all
>
> When I compiled eina, an error that the compiler didn't know "-Wextra"
> happend. I'm not sure why this error happened. I guess it's perhaps
> because the version of my compiler is gcc (GCC) 3.3.6. I suspect that
> my gcc doesn't recognize the option due to its version, which would be
> lower than the one necessary to recognize the option.

That just turns on extra warnings. And that version of GCC is pretty
out of date; is there any reason you're using that rather than a more
recent version?

> So I modified configure.ac in eina directory and replaced the value
> of EINA_CFLAGS with "${EINA_CFLAGS} -Wall -W" # -Wextra -Werror to
> finish compiling it normally:
>
> if ! test "${VMIC}" = "x" ; then
>   EINA_CFLAGS="${EINA_CFLAGS} -Wall -W" # -Wextra -Werror
> fi

Does it compile with -Werror? -Werror turns warnings into errors.

> But if there is a proper way to successfully compile eina using gcc 3.3.6,
> I'd like know it. Any help is appreciated.
>
> Thanks in advance.
> --Yasufumi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to