Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354680 - [fp] struct tm
Summary: [fp] struct tm
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-codan (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CDT Codan Inbox CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 18:07 EDT by Mario Charest CLA
Modified: 2016-12-29 01:13 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.