cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #04733
[Bug 1055136] Re: Conflicting declaration of g_pPrimaryContainer
Thank you for this bug report and all details!
This bug should be fixed with the rev 1229¹
Matth
[1] https://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-
dock/revision/1229
** Changed in: cairo-dock-core
Status: New => Fix Committed
** Changed in: cairo-dock-core
Milestone: None => 3.1.0
** Changed in: cairo-dock-core
Assignee: (unassigned) => Matthieu Baerts (matttbe)
--
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Core.
https://bugs.launchpad.net/bugs/1055136
Title:
Conflicting declaration of g_pPrimaryContainer
Status in Cairo-Dock : Core:
Fix Committed
Bug description:
Here's another result from our build with link-time type checking:
there are conflicting declarations of the variable g_pPrimaryContainer
as follows:
./src/gldit/cairo-dock-container.c:CairoContainer *g_pPrimaryContainer = NULL;
./src/gldit/cairo-dock-manager.c:extern CairoDock *g_pPrimaryContainer;
All other code properly declares g_pPrimaryContainer as extern
CairoContainer it seems, just cairo-dock-manager is off. Likely this
is a cosmetic issue at present only as cairo-dock-manager.c only
performs a comparison to NULL, but future more elaborate use of the
variable will lead to undefined behaviour.
Best,
Michael
To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-core/+bug/1055136/+subscriptions
References