GNOME Bugzilla – Bug 508488
suncc does not range case for swith statement
Last modified: 2009-02-26 12:52:38 UTC
Please describe the problem: Please describe the problem: On solaris, I'm using suncc to compile gtk-vnc trunk code. it stops at building gvnc.c "gvnc.c", line 1193: syntax error before or at: ... "gvnc.c", line 1197: syntax error before or at: ... Steps to reproduce: 1. 2. 3. Actual results: build pass Expected results: build fail Does this happen every time? yes Other information:
Created attachment 102510 [details] [review] patch for bug #508488 Use if-else to replace those switch code. this is compatible for all compilers.
Close this bug as the patch is accepted by Anthony. committed in gtk-vnc trunk.
Thanks, Halton.