works in eclipse CDT with openc