Project

General

Profile

Actions

Bug #130

closed

include files are included more than once.

Added by François Félix Ingrand over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal

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
Actions #1

Updated by Anthony Mallet about 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

Actions #2

Updated by Anthony Mallet about 7 years ago

Any feedback?

Actions #3

Updated by Anthony Mallet over 6 years ago

  • Status changed from Feedback to Closed

No feeback. Assuming "fixed".

Actions

Also available in: Atom PDF