Re: [evolution-patches] Build fix for gcc3.4
- From: Chris Toshok <toshok ximian com>
- To: David Malcolm <dmalcolm redhat com>
- Cc: Evolution Patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Build fix for gcc3.4
- Date: Thu, 22 Apr 2004 19:10:31 -0700
looks fine to me.
On Thu, 2004-04-22 at 17:14 -0400, David Malcolm wrote:
> I had to apply the attached patch to get Evo HEAD to build with gcc3.4
>
> gcc complains about trailing "default:" labels without statements in
> switch statements; I believe this was a warning in gcc3.3 but is now an
> error in gcc3.4 (the message you get is "error: label at end of
> compound statement").
>
> Removing the default statement altogether causes a flood of warnings
> about all the unhandled values; adding a simple "break" after the
> default seems to keep the various versions of gcc happy, YMMV
>
> Dave Malcolm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]