2012-10-04 06:15:50 |
Daniel van Vugt |
description |
Install clang and then:
env CC=clang CXX=clang cmake ..
and then it can't build because of (at least):
In file included from /home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.c:28:
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.h:25:37: error:
redefinition of typedef 'GWDSettingsWritable' is invalid in C
[-Wtypedef-redefinition]
typedef struct _GWDSettingsWritable GWDSettingsWritable;
^
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-writable-interface.h:35:37: note:
previous definition is here
typedef struct _GWDSettingsWritable GWDSettingsWritable;
^
In file included from /home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.c:28:
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.h:26:37: error:
redefinition of typedef 'GWDSettingsStorage' is invalid in C
[-Wtypedef-redefinition]
typedef struct _GWDSettingsStorage GWDSettingsStorage;
^
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-interface.h:35:36: note:
previous definition is here
typedef struct _GWDSettingsStorage GWDSettingsStorage;
^
In file included from /home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.c:28:
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.h:27:31: error:
redefinition of typedef 'GSettings' is invalid in C
[-Wtypedef-redefinition]
typedef struct _GSettings GSettings;
^
/usr/include/glib-2.0/gio/giotypes.h:60:47: note: previous definition is here
typedef struct _GSettings GSettings;
^
Clang also rejects lp:compiz-core/0.9.7 for different reasons. |
Install clang and then:
env CC=clang CXX=clang++ cmake ..
and then it can't build because of (at least):
In file included from /home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.c:28:
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.h:25:37: error:
redefinition of typedef 'GWDSettingsWritable' is invalid in C
[-Wtypedef-redefinition]
typedef struct _GWDSettingsWritable GWDSettingsWritable;
^
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-writable-interface.h:35:37: note:
previous definition is here
typedef struct _GWDSettingsWritable GWDSettingsWritable;
^
In file included from /home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.c:28:
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.h:26:37: error:
redefinition of typedef 'GWDSettingsStorage' is invalid in C
[-Wtypedef-redefinition]
typedef struct _GWDSettingsStorage GWDSettingsStorage;
^
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-interface.h:35:36: note:
previous definition is here
typedef struct _GWDSettingsStorage GWDSettingsStorage;
^
In file included from /home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.c:28:
/home/dan/bzr/compiz/clang/gtk/window-decorator/gwd-settings-storage-gsettings.h:27:31: error:
redefinition of typedef 'GSettings' is invalid in C
[-Wtypedef-redefinition]
typedef struct _GSettings GSettings;
^
/usr/include/glib-2.0/gio/giotypes.h:60:47: note: previous definition is here
typedef struct _GSettings GSettings;
^
Clang also rejects lp:compiz-core/0.9.7 for different reasons. |
|