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 <[EMAIL PROTECTED]> 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
>
> --
> -----------------------------------------------------------------
> [EMAIL PROTECTED]                                     debian/rules
> [EMAIL PROTECTED]                             Monkeys do it better
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to