Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354680

Summary: [fp] struct tm
Product: [Tools] CDT Reporter: Mario Charest <mcharest>
Component: cdt-codanAssignee: CDT Codan Inbox <cdt-codan-inbox>
Status: RESOLVED WORKSFORME QA Contact: Elena Laskavaia <elaskavaia.cdt>
Severity: normal    
Priority: P3 CC: cdtdoug, MasaruKawashima, yevshif, zeratul976
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mario Charest CLA 2011-08-12 18:07:59 EDT
In the following C++ program:


#include <time.h>
#include <sys/time.h>

int main(int argc, char *argv[]) {

	struct tm tmf;

	int x = tmf.tm_year;

	return 0;
}

Field 'tm_year' could not be resolved
Comment 1 Tomasz Wesolowski CLA 2011-08-17 13:49:31 EDT
Looks like the same issue as bug 354675 and probably also bug 354673.
Comment 2 Masaru Kawashima CLA 2012-01-17 05:25:22 EST
Try to increase the indexer's cache size.
Comment 3 Nathan Ridge CLA 2013-07-21 23:13:28 EDT
Works fine for me with CDT 8.2 (Kepler).
Comment 4 Nathan Ridge CLA 2016-12-29 01:13:10 EST
Closing per comment 3. Feel free to reopen if you're still seeing this.