#835: Compiling breaks at latest SVN (GCC 4.3.3)
-----------------------------------+----------------------------------------
 Reporter:  thomas                 |       Owner:            
     Type:  i don't know           |      Status:  new       
 Priority:  normal                 |   Milestone:            
Component:  Bugs in initng-ifiles  |     Version:  initng-SVN
 Severity:  normal                 |    Keywords:            
-----------------------------------+----------------------------------------
 Since new module API was implemented compiling initng breaks for me.

 Problem is at initng/module/module.h at line 33: ".deps = { __VA_ARGS__,
 NULL },"

 __VA_ARGS__ is mostly empty, so GCC has problems with this expression.
 Tried to fix it with ".deps = { __VA_ARGS__ }," and adding NULL as last
 parameter of each INITNG_MODULE() call, but so I ran into segfaults. One
 possibility is to change it to ".deps = { NULL, ##__VA_ARGS__ }," - so the
 comma is only written if __VA_ARGS__ isnt empty. But this implicates some
 changes at dep checking (or is there another way without using NULL)?

-- 
Ticket URL: <http://www.initng.org/ticket/835>
Initng <http://www.initng.org>
The next generation init system
_______________________________________________
Tickets mailing list
Tickets@jw.dyndns.org
http://jw.dyndns.org/mailman/listinfo/tickets

Reply via email to