[MacPorts] #33962: xchat2: Undefined symbols: "__"

MacPorts noreply at macports.org
Sat Apr 14 03:12:04 PDT 2012


#33962: xchat2: Undefined symbols: "__"
--------------------------------------+-------------------------------------
  Reporter:  ryandesign@…             |       Owner:  afb@…           
      Type:  defect                   |      Status:  closed          
  Priority:  Normal                   |   Milestone:                  
 Component:  ports                    |     Version:                  
Resolution:  fixed                    |    Keywords:                  
      Port:  xchat2                   |  
--------------------------------------+-------------------------------------

Comment(by afb@…):

 The error message is real and the patch is needed, just that it's not
 about everything starting with "glib/*".

   The recommended way of using GLib has always been to only include the
 toplevel headers glib.h, glib-object.h, gio.h. Starting with 2.32, GLib
 enforces this by generating an error when individual headers are directly
 included.

   Still, there are some exceptions; these headers have to be included
 separately: gmodule.h, glib-unix.h, glib/gi18n-lib.h or glib/gi18n.h (see
 the Internationalization section), glib/gprintf.h and glib/gstdio.h (we
 don't want to pull in all of stdio).

 http://developer.gnome.org/glib/2.32/glib-compiling.html

-- 
Ticket URL: <https://trac.macports.org/ticket/33962#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list