← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1054985] Re: Conflicing declarations of variable my_iDrawSeparator3D

 

** Changed in: cairo-dock-plug-ins
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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


References