Including individual glib headers no longer supported

Bug #964101 reported by أحمد المحمودي (Ahmed El-Mahmoudy)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gEDA
New
Undecided
Unassigned

Bug Description

Including invidiual glib headers has been deprecated for several years.

Starting with glib 2.32 it is mandatory to include glib.h instead of individual headers, or the compiler will generate an error.

With the notable exception of:
 glib/gi18n.h
 glib/gi18n-lib.h
 glib/gprintf.h
 glib/gstdio.h
Those header files are still meant to be included separately.

The only affected file in geda (1.6.2) is libgeda/src/s_path.c The attached patch fixes it.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Revision history for this message
Juergen Harms (juergen-harms-s) wrote :

A similar patch has been introduced in the geda package of the Mageia distribution (geda-libgeda41-1.7.2-3.mga2) - I have not been able to check the "also affects distribution" checkbox since mageia is not yet "known" to geda

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.