! 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 !
cc: Error: desktop-menuspec.h, line 85: The function "desktop_menuspec_path_f...
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Will L G 2005-02-23 15:38:10 CET
Receiving the error below while attempting to compile xfdesktop... Was using:
Redhat 7.2
CCC-6.5.9
Make-3.8
Binutils-2.15

 ccc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-
2.0/include -D_XOPEN_SOURCE=500 -DXTHREADS -DXUSE_MTSAFE_API -
I/usr/X11R6/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-
2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -
I/usr/X11/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -
I/usr/include/atk-1.0 -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -s -O5 -
fast -mtune=ev56 -I/usr/alpha-glibc21-linux/include -c desktop-menu-dentry.c  -
DPIC -o .libs/xfce4_desktop_menu_la-desktop-menu-dentry.o
cc: Info: /usr/include/xfce4/libxfce4util/libxfce4util-config.h, line 37: 
Extraneous semicolon. (extrasemi)
G_BEGIN_DECLS;
-------------^
cc: Info: /usr/include/xfce4/libxfce4util/libxfce4util-config.h, line 51: 
Extraneous semicolon. (extrasemi)
G_END_DECLS;
-----------^
cc: Info: /usr/include/xfce4/libxfce4util/xfce-generics.h, line 33: Extraneous 
semicolon. (extrasemi)
G_BEGIN_DECLS;
-------------^
cc: Info: /usr/include/xfce4/libxfce4util/xfce-generics.h, line 98: Extraneous 
semicolon. (extrasemi)
G_END_DECLS;
-----------^
cc: Info: /usr/include/xfce4/libxfce4util/xfce-kiosk.h, line 33: Extraneous 
semicolon. (extrasemi)
G_BEGIN_DECLS;
-------------^
cc: Info: /usr/include/xfce4/libxfce4util/xfce-kiosk.h, line 45: Extraneous 
semicolon. (extrasemi)
G_END_DECLS;
-----------^
cc: Warning: desktop-menu.h, line 51: This parameter is not preceded by a 
comma. (missingcomma)
#define BD(fmt, args...)
--------------------^
cc: Warning: desktop-menu-dentry.c, line 155: Too few actual parameters in the 
invocation of the macro "BD". (toofewactuals)
      BD("  newpath=%s", newpath);
----------------------------------^
cc: Warning: desktop-menu-dentry.c, line 192: Too few actual parameters in the 
invocation of the macro "BD". (toofewactuals)
      BD("%s", path);
---------------------^
cc: Warning: desktop-menu-dentry.c, line 205: Too few actual parameters in the 
invocation of the macro "BD". (toofewactuals)
        BD("  parent=%p", parent);
----------------------------------------^
cc: Warning: desktop-menu-dentry.c, line 251: Too few actual parameters in the 
invocation of the macro "BD". (toofewactuals)
      BD("for the hell of it: basepath=%s", desktop_menu->dentry_basepath);
---------------------------------------------------------------------------^
cc: Warning: desktop-menu-dentry.c, line 319: Too few actual parameters in the 
invocation of the macro "BD". (toofewactuals)
        BD("before ensuring - basepath=%s", desktop_menu->dentry_basepath);
--------------------------------------------------------------------------------
-^
cc: Error: desktop-menuspec.h, line 85: The 
function "desktop_menuspec_path_free" has internal linkage, occurs in a context 
that requires its definition, and has no definition. (missingfunc)
G_INLINE_FUNC void desktop_menuspec_path_free(GPtrArray *paths);
-------------------^
Comment 1 Brian J. Tarricone (not reading bugmail) 2005-03-03 06:24:40 CET
The inline statements were removed recently on the 4.2 branch, so this should be
fixed.  I'm not fixing it on HEAD, as that code is deprecated.

Bug #803

Reported by:
Will L G
Reported on: 2005-02-23
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information