Wireshark mailing list archives

Re: [Wireshark-commits] rev 38265: /trunk/gtk/ /trunk/gtk/: CMakeLists.txt old-gtk-compat.h sip_stat.c


From: Guy Harris <guy () alum mit edu>
Date: Sat, 30 Jul 2011 11:13:10 -0700


On Jul 30, 2011, at 2:10 AM, Stig Bjørlykke wrote:

On Sat, Jul 30, 2011 at 10:48 AM,  <jmayer () wireshark org> wrote:
Log:
 Macros aren't functions: Back out rev 38264 and wait for someone who knows what he is doing to fix this

What about something like this?

#if !GTK_CHECK_VERSION (2, 22, 0)
       /* Work around GTK bug: Sealed in 2.14, accessor provided in 2.22 */
inline void ws_gtk_table_get_size (GtkTable *table, guint *rows, guint *columns)

Does that work with compilers that don't support "inline"?  I'm not sure all the compilers used to build Wireshark do 
(e.g., do various commercial compilers for UN*Xes do so?).

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: