[Pidgin] #5471: Win32 C++ compatibility issue

Pidgin trac at pidgin.im
Tue Apr 8 04:45:33 EDT 2008


#5471: Win32 C++ compatibility issue
-----------------------+----------------------------------------------------
 Reporter:  vladb      |       Type:  patch
   Status:  new        |   Priority:  minor
Component:  libpurple  |    Version:  2.4.1
 Keywords:  win32 C++  |    Pending:  0    
-----------------------+----------------------------------------------------
 The header '''libpurple/win32/libc_internal.h''' cannot be included when
 using C++ because it contains the following function declaration:

 {{{
 int wpurple_socket(int namespace, int style, int protocol);
 }}}

 The reason is that '''namespace''' is a C++ keyword. The patch simply
 replaces ''namespace'' with ''domain'' in ''libc_internal.h'' and
 ''libc_interface.h''.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5471>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list