Bug 592783

Summary: not all devel headers are C++ friendly
Product: [Fedora] Fedora Reporter: Suhan Andrei <sandi_ro>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dcbw, jklimes
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-28 15:44:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suhan Andrei 2010-05-16 21:53:52 UTC
Description of problem:

sample include from cpp of nm-utils.h will give a link error because 
nm-utils.h fails to embed declartions into a exter "C" block.

while this is "hackable" is not elegant. It is more likely that the file lacks 
G_BEGIN_DECLS and G_END_DECLS: 

see here :
http://library.gnome.org/devel/glib/stable/glib-Miscellaneous-Macros.html#G-BEGIN-DECLS:CAPS

Version-Release number of selected component (if applicable):
NetworkManager-glib-devel-0.7.2.995-2.git20100225.fc11.x86_64

How reproducible:
always see contents of nm-utils.h

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jirka Klimes 2010-05-18 08:26:42 UTC
Thanks for catching that.

Fixed in upstream: 5110fa7811cc8d68d2a61601e04e4fb4e9edc31f (master).

Comment 2 Bug Zapper 2010-06-28 15:44:30 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.