File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -806,7 +806,9 @@ if test -n "$GCC"; then
806
806
;;
807
807
esac
808
808
809
- CXX="$CC"
809
+ if test x$uname != xDarwin; then
810
+ CXX="$CC"
811
+ fi
810
812
811
813
AC_ARG_ENABLE(exceptions, [ --enable-exceptions turn on GCC exceptions (default=yes)])
812
814
if test x$enable_exceptions != xno; then
Original file line number Diff line number Diff line change 1
1
//
2
- // "$Id: cursor.cxx,v 1.12 2002/12/10 02:01:04 easysw Exp $"
2
+ // "$Id$"
3
3
//
4
4
// Cursor test program for the Fast Light Tool Kit (FLTK).
5
5
//
@@ -47,7 +47,7 @@ int CursorBox::handle(int event) {
47
47
return Widget::handle (event);
48
48
}
49
49
50
- struct {const char * name; Cursor* cursor;} table[] = {
50
+ struct gcc4_bug_workaround {const char * name; Cursor* cursor;} table[] = {
51
51
{" 0" , 0 },
52
52
{" CURSOR_ARROW" , CURSOR_ARROW},
53
53
{" CURSOR_CROSS" , CURSOR_CROSS},
@@ -63,7 +63,7 @@ struct {const char* name; Cursor* cursor;} table[] = {
63
63
{" CURSOR_NO" , CURSOR_NO},
64
64
{" CURSOR_NONE" , CURSOR_NONE},
65
65
};
66
- #define COUNT (sizeof (table)/sizeof (* table))
66
+ #define COUNT (sizeof (table)/sizeof (table[ 0 ] ))
67
67
#define W 200
68
68
#define H 25
69
69
#define GAP 5
@@ -79,5 +79,5 @@ int main(int argc, char **argv) {
79
79
}
80
80
81
81
//
82
- // End of "$Id: cursor.cxx,v 1.12 2002/12/10 02:01:04 easysw Exp $".
82
+ // End of "$Id$".
83
83
//
You can’t perform that action at this time.
0 commit comments