[Mono-devel-list] MacOSX build error in 'mono'

Urs C. Muff umuff at quark.com
Mon Apr 7 17:09:29 EDT 2003


Note: atomic.h has on line 368 __volatile_ instead of __volatile__.

[xxx:/CVS-Repositories/go-mono.com/mono] umuff% cvs diff -u 
mono/io-layer/
cvs server: Diffing .
cvs server: Diffing mono
cvs server: Diffing mono/io-layer
Index: mono/io-layer/atomic.h
===================================================================
RCS file: /mono/mono/mono/io-layer/atomic.h,v
retrieving revision 1.11
diff -u -r1.11 atomic.h
--- mono/io-layer/atomic.h      28 Mar 2003 15:04:03 -0000      1.11
+++ mono/io-layer/atomic.h      7 Apr 2003 21:11:08 -0000
@@ -368,7 +368,7 @@
                                                 gint32 exch, gint32 
comp) {
         gint32 tmp = 0;

-       __asm__ __volatile_ ("\nL_ice_loop:\n\t"
+       __asm__ __volatile__ ("\nL_ice_loop:\n\t"
                              "lwarx   %0, 0, %1\n\t"
                              "cmpw    %2, %3\n\t"
                              "bne-    L_ice_diff\n\t"




More information about the Mono-devel-list mailing list