! 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 !
xffm-4.2.1 fails to compile with GCC 4.0.0-beta20050319
Status:
RESOLVED: FIXED

Comments

Description Mark Loeser 2005-03-24 05:29:24 CET
Xffm fails to compile with the following error message:

callbacks.c: In function 'treeclick':
callbacks.c:668: error: invalid storage class for function 'unsel'
make[2]: *** [libxffm_basic_la-callbacks.lo] Error 1

This is due to a static function being declared inside another function, which
violates the C standard.

Reproducible: Always
Steps to Reproduce:
1. Compile with gcc4 snapshot
2. 
3. 

Actual Results:  
Fails with above error.

Expected Results:  
Should compile.
Comment 1 Mark Loeser 2005-03-24 05:30:13 CET
Created attachment 198 
GCC 4 compile fix
Comment 2 edscott editbugs 2005-03-24 13:24:41 CET
Patch applied to 4.2.x and 4.3.x branches.

Bug #862

Reported by:
Mark Loeser
Reported on: 2005-03-24
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

GCC 4 compile fix (855 bytes, patch)
2005-03-24 05:30 CET , Mark Loeser
no flags

Additional information