Conflicing declarations of variable my_iDrawSeparator3D

Bug #1054985 reported by Michael Tautschnig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
Fix Released
Undecided
Matthieu Baerts

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

Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hello and thank you for this bug report!

This bug should be fixed now with the latest rev (2554) on BZR¹.
Feel free to report any other bugs/ideas/patches ;)

Have a nice day,

Matt

[1] https://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-plug-ins/plug-ins/revision/2554

Changed in cairo-dock-plug-ins:
status: New → Fix Committed
assignee: nobody → Matthieu Baerts (matttbe)
milestone: none → 3.1.0
Changed in cairo-dock-plug-ins:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.