To reproduce the bug, you have only to create a project and add a class with the class wizzard.
The options "Add path to Project", "Use relative Path", and "Header and implementation file shall be in the same folder"
and the folder should point to the main project directory.
The problem is, that the relative path to the project directory is nothing (or a empty string). And if we add a empty Include path, c::b produce the output with the empty -I flag.
My patch checks if the path to add to the include directories is empty, if so, reject it... (or should we add a "."?)
greetings