Bug 697112

Summary: Add #include doesn't work
Product: [Fedora] Fedora Reporter: Andrew Overholt <overholt>
Component: eclipse-cdtAssignee: Jeff Johnston <jjohnstn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: akurtako, jjohnstn, overholt, patrickm
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-01 16:02:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrew Overholt 2011-04-15 21:04:17 UTC
Create a simple managed make C project with the following in the main .c file:

#include <stdio.h>

int main(void) {

	printf("Length of string is %d\n", strlen("hello"));

	return 0;
}

Highlight the strlen call and press Ctrl-Shift-n.  This should add a #include <string.h> statement but it does not.  This used to work.

eclipse-cdt-7.0.1-5.fc15.x86_64

Comment 4 Jeff Johnston 2012-05-01 16:02:27 UTC
This problem is verified to be fixed in eclipse-cdt-7.0.2-3.fc15