Actions
Bug #130
closedinclude files are included more than once.
Description
Included struct files are not properly CPP parsed when calling genom3 with more than one component.
As a result, one get redefinition errors:
felix@Trusty64:~/work/rob/build-all$ genom3 bip/server-pocolibs ../robmotion/robmotion.gen ../robloco/robloco.gen robsim-struct.idl:6: declaration of 'task_period' clashes with existing const robsim-struct.idl:6: const 'task_period' declared here robsim-struct.idl:6: dropped declaration for 'task_period' robsim-struct.idl:8: declaration of 'half_map_size' clashes with existing const robsim-struct.idl:8: const 'half_map_size' declared here robsim-struct.idl:8: dropped declaration for 'half_map_size' robsim-struct.idl:11: declaration of 'UNKNOWN' clashes with existing enumerator robsim-struct.idl:11: enumerator 'UNKNOWN' declared here
Updated by Anthony Mallet over 7 years ago
- Status changed from New to Feedback
Should be better now, can you confirm?
Note: you need to change your template to parse all files in one go,
see e.g. genom3-pocolibs:37ef114d
Updated by Anthony Mallet over 6 years ago
- Status changed from Feedback to Closed
No feeback. Assuming "fixed".
Actions