Let me rephrase my request.

SRU: minimal patch for Jaunty is attached (see comment 3)

Nominating for SRU, fulfills: (1) have an obviously safe patch

The patch modifies only a header file so that extern "C" is used when
developers include the header in a C++ program. This condition is tested
with #if defined(__cplusplus) || defined(c_plusplus).

This change doesn't affect programs written in C, is definitely safe and
will make C++ developers' life a little better.

The fix is from upstream and has been verified in Jaunty.

TEST CASE:
 install libxi-dev
 create a new C++ program
 include XInput.h
 call the DevicePresence() function
 try to compile the program
 notice the compilation error

-- 
_XiGetDevicePresenceNotifyEvent can't be used from C++
https://bugs.launchpad.net/bugs/373711
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to