[Mono-bugs] [Bug 81520][Cri] New - Mono does not build with latest eglib on Mac OS X

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 2 15:58:54 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by andreas.faerber at web.de.

http://bugzilla.ximian.com/show_bug.cgi?id=81520

--- shadow/81520	2007-05-02 15:58:54.000000000 -0400
+++ shadow/81520.tmp.20480	2007-05-02 15:58:54.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 81520
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: Mac OS X v10.4.9 ppc64
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andreas.faerber at web.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono does not build with latest eglib on Mac OS X
+
+Description of Problem:
+Recent eglib changes lead to compilation failure of Mono on OS X (ppc64).
+
+Steps to reproduce the problem:
+1. patch eglib to compile on OS X (#81456)
+2. configure Mono to use eglib
+3. compile Mono
+
+Actual Results:
+...
+mono-logger.c: In function 'mono_trace_push':
+mono-logger.c:144: error: parse error before ')' token
+mono-logger.c:147: error: 'entry' undeclared (first use in this function)
+mono-logger.c:147: error: (Each undeclared identifier is reported only 
+once
+mono-logger.c:147: error: for each function it appears in.)
+mono-logger.c: At top level:
+mono-logger.c:157: error: parse error before '}' token
+mono-logger.c: In function 'mono_trace_pop':
+mono-logger.c:168: error: parse error before ')' token
+mono-logger.c:175: error: 'entry' undeclared (first use in this function)
+mono-logger.c: At top level:
+mono-logger.c:180: error: parse error before '}' token
+make[3]: *** [mono-logger.lo] Error 1
+make[2]: *** [all-recursive] Error 1
+make[1]: *** [all-recursive] Error 1
+make: *** [all] Error 2
+
+Expected Results:
+No compilation error in mono-logger.c
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+r76209 has made the following signature change in glib.h for g_error 
+(used in mono-logger.c:144):
+-#define g_error(format...)    g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, 
+format)
++#define g_error(format, ...)    g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, 
+format, __VA_ARGS__)
+This seems to break invocations not specifying additional parameters.


More information about the mono-bugs mailing list