Xine's headers prevent C90 applications (like KDE) from compiling

Bug #274194 reported by Michael Casadevall
2
Affects Status Importance Assigned to Milestone
xine-lib (Ubuntu)
Fix Released
Low
Michael Casadevall

Bug Description

xine/buffer.h has an inlined function, but uses the "inline" term to do so. This causes any app that uses C90 mode on GCC to break when building against Xine. The correct solution, short of removing the inline, is to use __inline__ so GCC can inline the call while not breaking C90 applications.

Related branches

Revision history for this message
Michael Casadevall (mcasadevall) wrote :
Changed in xine-lib:
assignee: nobody → sonicmctails
importance: Undecided → Low
milestone: none → ubuntu-8.10-beta
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xine-lib - 1.1.15-0ubuntu3

---------------
xine-lib (1.1.15-0ubuntu3) intrepid; urgency=low

  * Changed xine-engine/buffer.h to use __inline__
    vs inline in patch 00_fix_inline.diff to correct
    applications from FTBFS when using c90 mode of GCC (LP: #274194)

 -- Michael Casadevall <email address hidden> Wed, 24 Sep 2008 19:27:06 -0400

Changed in xine-lib:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.