GNOME Bugzilla – Bug 692251
goa kerberos provider fails to build with gcc-4.5 due to GoaKerberosIdentity redefinition
Last modified: 2013-01-29 16:29:37 UTC
When trying to build gnome-online-accounts-3.6.2 with --enable-kerberos using gcc-4.5: In file included from goaidentityenumtypes.c:106:0: goakerberosidentity.h:39:37: error: redefinition of typedef 'GoaKerberosIdentity' goakerberosidentityinquiry.h:41:37: note: previous declaration of 'GoaKerberosIdentity' was here Later versions of gcc can deal with this redefinition. However, IMHO redefining GoaKerberosIdentity - and in fact, the whole design of goakerberosidentity.h and goakerberosidentityinquiry.h that forces them to include each other and then define GoaKerberosIdentity in two places - is not an example of good style.
Created attachment 234066 [details] [review] proposed patch
Thanks for the patch!