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

Bug 350191

Summary: New MSSDK indexer does not recognize __int* builtins
Product: [Tools] CDT Reporter: Joan Touzet <joant>
Component: cdt-indexerAssignee: Project Inbox <cdt-indexer-inbox>
Status: CLOSED DUPLICATE QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Joan Touzet CLA 2011-06-23 17:11:28 EDT
Build Identifier: 20110615-0604

MSVC defines __int## as a fundamental type, and thus it is not defined in any standard system include files. The CDT indexer does not realize this and always flags __int* declarations as syntax errors.

Reproducible: Always

Steps to Reproduce:
To reproduce, create a .h file in a new MS SDK/MSVC executable project with the following content:

typedef signed __int64 gint64;

CDT indexer will say this is a syntax error.
Comment 1 Markus Schorn CLA 2011-06-29 10:16:44 EDT
__int64 needs to be mapped to 'long long'

*** This bug has been marked as a duplicate of bug 346422 ***