! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Possible typo in panel-plugin/launcher.h
Status:
RESOLVED: FIXED
Product:
Xfce4-whiskermenu-plugin
Component:
General

Comments

Description Olivier Duchateau 2017-11-13 22:02:18 CET
Created attachment 7432 
Fix possible typo

When I build xfce4-whiskermenu-plugin 2.1.4 (also tested with 1.7.4) I get these warnings (build on FreeBSD with default compiler, Clang):

/usr/ports/x11/xfce4-whiskermenu-plugin/work/xfce4-whiskermenu-plugin-2.1.4/pane
l-plugin/launcher.h:31:1: warning: 'DesktopAction' defined as a struct here but
previously declared as a class [-Wmismatched-tags]
struct DesktopAction
^
/usr/ports/x11/xfce4-whiskermenu-plugin/work/xfce4-whiskermenu-plugin-2.1.4/pane
l-plugin/page.h:26:1: note: did you mean struct here?
class DesktopAction;
^~~~~
struct
1 warning generated.

With the patch, no warnings happen.
Comment 1 Git Bot editbugs 2017-11-14 02:08:21 CET
Olivier Duchateau referenced this bugreport in commit 13ecd145bd1d879274e5876863e225a222632143

Fix typo. (bug #14001)

https://git.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/commit?id=13ecd145bd1d879274e5876863e225a222632143
Comment 2 Graeme Gott editbugs 2017-11-14 02:09:52 CET
Surprising that GCC never warned about that. Thanks.

Bug #14001

Reported by:
Olivier Duchateau
Reported on: 2017-11-13
Last modified on: 2017-11-14

People

Assignee:
Graeme Gott
CC List:
0 users

Version

Version:
unspecified

Attachments

Fix possible typo (579 bytes, patch)
2017-11-13 22:02 CET , Olivier Duchateau
no flags

Additional information