cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #04730
[Bug 1054985] [NEW] Conflicing declarations of variable my_iDrawSeparator3D
Public bug reported:
Hi,
While building cairo-dock-plug-ins using our research compiler
infrastructure we noticed the following inconsistent declarations:
- ./dock-rendering/src/rendering-init.c:gint my_iDrawSeparator3D = 0;
- ./dock-rendering/src/rendering-config.c:extern CairoDockSpeparatorType my_iDrawSeparator3D;
As the compiler makes no guarantee that an enum is represented as an
int, this may yield undefined behaviour.
Best,
Michael
** Affects: cairo-dock-plug-ins
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Plug-ins.
https://bugs.launchpad.net/bugs/1054985
Title:
Conflicing declarations of variable my_iDrawSeparator3D
Status in Cairo-Dock: Plug-ins:
New
Bug description:
Hi,
While building cairo-dock-plug-ins using our research compiler
infrastructure we noticed the following inconsistent declarations:
- ./dock-rendering/src/rendering-init.c:gint my_iDrawSeparator3D = 0;
- ./dock-rendering/src/rendering-config.c:extern CairoDockSpeparatorType my_iDrawSeparator3D;
As the compiler makes no guarantee that an enum is represented as an
int, this may yield undefined behaviour.
Best,
Michael
To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1054985/+subscriptions
Follow ups
References