Bug 158305 - opie-2.4-553 doesn't support C++
Summary: opie-2.4-553 doesn't support C++
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Olaf Kirch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 16:46 UTC by Matthias Andree
Modified: 2006-03-17 11:46 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Proposed patch (488 bytes, patch)
2006-03-15 19:34 UTC, Olaf Kirch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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