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

Also available in: Atom PDF