! 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 !
libexo fails to build on some platforms
Status:
RESOLVED: FIXED

Comments

Description Mark Trompell 2008-09-15 12:27:18 CEST
While trying to build libexo from trunk, it fails with:
cc1: warnings being treated as errors
../exo/exo-utils.h:38: warning: 'exo_atomic_inc' declared 'static' but never defined
../exo/exo-utils.h:39: warning: 'exo_atomic_dec' declared 'static' but never defined

Brian asked me to changes a few lines there to fix it.
Fix works fine for me.
I add a pretty small patch with the changes suggested by Brian.
Comment 1 Mark Trompell 2008-09-15 12:29:26 CEST
Created attachment 1818 
fixes decribed build problem

add patch
Comment 2 Brian J. Tarricone (not reading bugmail) 2008-10-06 02:32:11 CEST
Fix committed.  Compiles on x86_64 and ppc at least.  Would be nice to test on x86, but I don't have one of those available at present...
Comment 3 Nick Schermer editbugs 2008-10-06 06:23:43 CEST
*** Bug 4291 has been marked as a duplicate of this bug. ***

Bug #4387

Reported by:
Mark Trompell
Reported on: 2008-09-15
Last modified on: 2009-10-09
Duplicates (1):
  • 4291 Remove prototypes of exo_atomic_ in the header

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

fixes decribed build problem (777 bytes, patch)
2008-09-15 12:29 CEST , Mark Trompell
no flags

Additional information