[Mono-list] Problems Building 2.0.1

Abe Gillespie abe.gillespie at gmail.com
Wed Nov 12 10:50:39 EST 2008


Adding "return -1;" fixes the warning but the compiler still crashes.
I'm on CentOS, uname gives me:

Linux myhost.net 2.6.18-028stab053.14-ent #1 SMP Thu May 8 17:34:18
MSD 2008 i686 i686 i386 GNU/Linux

-Abe

On Wed, Nov 12, 2008 at 9:45 AM, Paolo Molaro <lupus at ximian.com> wrote:
> On 11/11/08 Abe Gillespie wrote:
>> I'm having trouble building 2.0.1.  I'm getting this:
>>
>> mini.c: In function `mono_op_imm_to_op':
>> mini.c:1863: warning: control reaches end of non-void function
>> gcc: Internal error: Terminated (program cc1)
>> Please submit a full bug report.
>> See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> As it says it's a gcc bug so you have to report that to the gcc
> developers.
> To work around it just add a
>        return -1;
> at the end of the function.
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


More information about the Mono-list mailing list