xfce4-panel compilation error

Adriano Winter Bess awbess at gmail.com
Sat Mar 11 17:29:12 CET 2006


Hi Jasper,

I've just checked out xfce4-panel r20333 to check if bug #1532 was really gone
but now I have a problem compiling the panel source:

panel-item-manager.c:66: error: syntax error before 'XfcePanelPluginCheck'
panel-item-manager.c:66: warning: no semicolon at end of struct or union
panel-item-manager.c: In function '_free_item_class':
panel-item-manager.c:78: error: dereferencing pointer to incomplete type
panel-item-manager.c:79: error: dereferencing pointer to incomplete type
panel-item-manager.c:81: error: dereferencing pointer to incomplete type
panel-item-manager.c:82: error: dereferencing pointer to incomplete type
panel-item-manager.c:83: error: dereferencing pointer to incomplete type
panel-item-manager.c:84: error: dereferencing pointer to incomplete type
panel-item-manager.c:86: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function '_add_item_info_to_array':
panel-item-manager.c:101: error: dereferencing pointer to incomplete type
panel-item-manager.c:102: error: dereferencing pointer to incomplete type
panel-item-manager.c:105: error: dereferencing pointer to incomplete type
panel-item-manager.c:106: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function '_new_plugin_class_from_desktop_file':
panel-item-manager.c:161: error: invalid application of 'sizeof' to incomplete type 'XfcePanelItemClass' 
panel-item-manager.c:163: error: dereferencing pointer to incomplete type
panel-item-manager.c:165: error: dereferencing pointer to incomplete type
panel-item-manager.c:172: error: invalid application of 'sizeof' to incomplete type 'XfcePanelItemClass' 
panel-item-manager.c:174: error: dereferencing pointer to incomplete type
panel-item-manager.c:176: error: dereferencing pointer to incomplete type
panel-item-manager.c:183: error: dereferencing pointer to incomplete type
panel-item-manager.c:186: error: dereferencing pointer to incomplete type
panel-item-manager.c:188: error: dereferencing pointer to incomplete type
panel-item-manager.c:188: error: dereferencing pointer to incomplete type
panel-item-manager.c:191: error: dereferencing pointer to incomplete type
panel-item-manager.c:194: error: dereferencing pointer to incomplete type
panel-item-manager.c:196: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function '_update_plugin_list':
panel-item-manager.c:290: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function '_decrease_use_count':
panel-item-manager.c:329: error: dereferencing pointer to incomplete type
panel-item-manager.c:330: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function 'xfce_panel_item_manager_create_item':
panel-item-manager.c:343: error: dereferencing pointer to incomplete type
panel-item-manager.c:345: error: dereferencing pointer to incomplete type
panel-item-manager.c:346: error: dereferencing pointer to incomplete type
panel-item-manager.c:346: error: dereferencing pointer to incomplete type
panel-item-manager.c:351: error: dereferencing pointer to incomplete type
panel-item-manager.c:355: warning: implicit declaration of function 'XfcePanelPluginCheck'
panel-item-manager.c:355: error: 'get_check' undeclared (first use in this function)
panel-item-manager.c:355: error: (Each undeclared identifier is reported only once
panel-item-manager.c:355: error: for each function it appears in.)
panel-item-manager.c:355: error: syntax error before 'void'
panel-item-manager.c:357: error: dereferencing pointer to incomplete type
panel-item-manager.c:357: error: dereferencing pointer to incomplete type
panel-item-manager.c:359: error: dereferencing pointer to incomplete type
panel-item-manager.c:364: error: dereferencing pointer to incomplete type
panel-item-manager.c:367: error: dereferencing pointer to incomplete type
panel-item-manager.c:369: error: dereferencing pointer to incomplete type
panel-item-manager.c:370: error: dereferencing pointer to incomplete type
panel-item-manager.c:376: error: dereferencing pointer to incomplete type
panel-item-manager.c:378: error: dereferencing pointer to incomplete type
panel-item-manager.c:383: error: dereferencing pointer to incomplete type
panel-item-manager.c:383: warning: implicit declaration of function 'get_check'
panel-item-manager.c:387: error: dereferencing pointer to incomplete type
panel-item-manager.c:391: error: dereferencing pointer to incomplete type
panel-item-manager.c:391: error: dereferencing pointer to incomplete type
panel-item-manager.c:393: error: dereferencing pointer to incomplete type
panel-item-manager.c:395: error: dereferencing pointer to incomplete type
panel-item-manager.c:398: error: dereferencing pointer to incomplete type
panel-item-manager.c:404: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function '_check_class_removal':
panel-item-manager.c:415: error: dereferencing pointer to incomplete type
panel-item-manager.c:417: error: dereferencing pointer to incomplete type
panel-item-manager.c:420: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function '_compare_classes':
panel-item-manager.c:444: error: dereferencing pointer to incomplete type
panel-item-manager.c:447: error: dereferencing pointer to incomplete type
panel-item-manager.c:450: error: dereferencing pointer to incomplete type
panel-item-manager.c:450: error: dereferencing pointer to incomplete type
panel-item-manager.c:451: error: dereferencing pointer to incomplete type
panel-item-manager.c:451: error: dereferencing pointer to incomplete type
panel-item-manager.c: In function 'xfce_panel_item_manager_is_available':
panel-item-manager.c:500: error: dereferencing pointer to incomplete type
panel-item-manager.c:500: error: dereferencing pointer to incomplete type
panel-item-manager.c:501: warning: control reaches end of non-void function

I couldn't find the declaration for XfcePanelPluginCheck anywhere in the panel
sources (except for where it's used in panel-item-manager.c).

Regards,
Adriano
-- 
Adriano Winter Bess

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060311/9c44eda9/attachment.pgp>


More information about the Xfce4-dev mailing list