Community
Participate
Working Groups
I am creating a new C++ Class called "ClassChild" via the New Class Wizard. I set the baseclass of the new class to some other class - "ClassParent" The structure of my program is: children/ClassChild.h(cpp) parents/ClassParent.h(cpp) When the class ClassChild is created, the include directive is wrong: #include "ClassParent.h" rather than #include "../parents/ClassParent.h" The wizard knows the location of the new class (/children) and of the base class (/parents). I dont see a reason why the include directive should not be able to plot a relative path from the new class to the base class. Thanks, Alex ---- Comment by "devin_steffler@ca.ibm.com" on eclipse.tools.cdt follows: I think that there is more to this bug than what you described. For example, what if your parent class is pointing to a linked resource? How would you figure out what the relative path is from your project? You should raise a bug on this https://bugs.eclipse.org/bugs/ Devin