#642: cant include initng_list.h from a C++ client
-----------------------------------+----------------------------------------
Reporter: Unbeliever | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: Bugs in initng source | Version: initng-0.6.4
Severity: trivial | Keywords:
-----------------------------------+----------------------------------------
When including initng_list.h (wich is included from libngcclient.h) it
says:
/usr/include/initng/initng_list.h:41: error: expected ',' or '...' before
'new'
...
/usr/include/initng/initng_list.h:107: error: invalid conversion from
'void*' to 'list_head*'
/usr/include/initng/initng_list.h:108: error: invalid conversion from
'void*' to 'list_head*'
...
The problem is that this file was taken from the kernel (C code), but in
C++ vars called "new" and implicit conversions like 'void*' to
'list_head*' are not allowed.
Please change the name of the var and remove this pair of implicit
conversions.
--
Ticket URL: <http://www.initng.org/ticket/642>
InitNG <http://www.initng.org/>
The Next Generation InitSystem
_______________________________________________
Tickets mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/tickets