[Mono-dev] Compilation issue

Robert Jordan robertj at gmx.net
Sat Nov 4 08:45:48 EST 2006


Robert Jordan wrote:
> Try this:
> 
> Index: libtest.c
> ===================================================================
> --- libtest.c   (revision 67351)
> +++ libtest.c   (working copy)
> @@ -944,9 +944,9 @@
>   STDCALL int
>   mono_test_empty_struct (int a, EmptyStruct es, int b)
>   {
> -       // printf ("mono_test_empty_struct %d %d\n", a, b);
> +       /* printf ("mono_test_empty_struct %d %d\n", a, b); */
> 
> -       // Intel icc on ia64 passes 'es' in 2 registers
> +       /* Intel icc on ia64 passes 'es' in 2 registers */
>   #if defined(__ia64) && defined(__INTEL_COMPILER)
>          return 0;
>   #else

There are even more "//"-style comments in mono/test/libtest.c.
If you still get the internal compiler error, try
to convert all comments to "/*" ... "*/".

Robert




More information about the Mono-devel-list mailing list