Bug 158305

Summary: opie-2.4-553 doesn't support C++
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Matthias Andree <matthias.andree>
Component: NetworkAssignee: Olaf Kirch <okir>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Proposed patch

Description Matthias Andree 2006-03-15 16:46:56 UTC
/usr/include/opie.h does not contain magic such as

#ifdef __cplusplus
extern "C" {
#endif

to enable directly including the .h file into C++ programs.
Please add.
Comment 1 Olaf Kirch 2006-03-15 19:34:47 UTC
Created attachment 73091 [details]
Proposed patch

Like this?
Comment 2 Olaf Kirch 2006-03-15 19:35:39 UTC
We could add this for SL10.1. This isn't something we would put into
a maintenance update for SL10.0.
Comment 3 Matthias Andree 2006-03-15 20:19:06 UTC
The patch looks good to me (I've tested with a fetchmail pre-6.3.3 version, compiling it with g++ 4.1.0, without patch -> linker failure in opie.o and pop3.o, with your patch -> link succeeds).

Thank you for the prompt response.
Comment 4 Olaf Kirch 2006-03-17 11:46:40 UTC
Fixed package submitted for CODE10