Modify

Opened 7 years ago

Last modified 4 years ago

#7854 assigned defect

cannot use libnl-tiny library calls in C++

Reported by: anonymous Owned by: nbd
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Cannot use libnl-tiny library calls in C++. The C++ is lot more strict than the C compiler and requires explicit casts.

I was unable to include 3 header files in my C++ code without adding explicit casts. The 3 files are attr.h, handlers.h, msg.h.

I have include a patch file

Attachments (8)

libnl-tiny_compile_issue.patch (1.9 KB) - added by anonymous 7 years ago.
attr.h (17.3 KB) - added by anonymous 7 years ago.
handlers.h (5.2 KB) - added by anonymous 7 years ago.
msg.h (7.1 KB) - added by anonymous 7 years ago.
libnl-tiny_compile_issue_updated.patch (2.0 KB) - added by anonymous 7 years ago.
updated patch file, please ignore first version of file
attr.2.h (17.3 KB) - added by anonymous 7 years ago.
updated version of attr.h, please ignore first version of file
msg.2.h (7.2 KB) - added by anonymous 7 years ago.
updated version of msg.h, please ignore first version of file
handlers.2.h (5.2 KB) - added by anonymous 7 years ago.
updated version of handlers.h, please ignore first version of file

Download all attachments as: .zip

Change History (12)

Changed 7 years ago by anonymous

Changed 7 years ago by anonymous

Changed 7 years ago by anonymous

Changed 7 years ago by anonymous

comment:1 Changed 7 years ago by anonymous

This issue is with the trunk. I am using backfire, not Kamikaze.

comment:2 Changed 7 years ago by anonymous

My patch had a slight error. My casts were not correct and I included older versions of the file. I have reattached the 4 files and these are correct.

Changed 7 years ago by anonymous

updated patch file, please ignore first version of file

Changed 7 years ago by anonymous

updated version of attr.h, please ignore first version of file

Changed 7 years ago by anonymous

updated version of msg.h, please ignore first version of file

Changed 7 years ago by anonymous

updated version of handlers.h, please ignore first version of file

comment:3 Changed 7 years ago by jow

  • Owner changed from developers to nbd
  • Status changed from new to assigned

Can you readd the whole bunch as single patch?

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.