Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] How to tell the indexer to ignore special modifyingkeywords?

Hi,
you can use the preprocessor to get rid of the extra tokens. In the project properties on the path's and symbol page you can enter a define that replaces for example 'near' with nothing.
 
Markus.


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Hagge, Nils
Sent: Friday, August 28, 2009 2:49 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] How to tell the indexer to ignore special modifyingkeywords?
Importance: Low

Dear folks,
 
at the moment, I act as an embassador for CDT and try to promote the features of CDT to people that still use
archaic development tools. Among them is an embedded group that uses special C compilers.
 
These compilers support different memory models that older folks from might know from old DOS teams
(tiny, compact, huge and so forth). These memory models may handle different kinds of pointers at the
same time. This results in having modifiers (i.e. keywords "far", "near", and "huge") to distinguish pointer
types.
Unfortunately, the indexer does not know them and indicates "Syntax errors" (see picture below).
 
 
Is there a way to tell CDT that I have a special dialect of C with these modifiers?
 
Mit freundlichen Grüßen

Dr. Nils Hagge

Projektleiter Vorfeld

Siemens AG
Industry Sector, I IA&DT ATS 13
Telefon +49 911 895-3484
Telefax +49 911 895-153484
mailto:nils.hagge@xxxxxxxxxxx
http://www.siemens.com/automation

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme
Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer;
Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Jim Reid-Anderson, Hermann Requardt,
Siegfried Russwurm, Peter Y. Solmssen
Registered offices: Berlin and Munich;
Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684
WEEE-Reg.-No. DE 23691322
 

Attachment: 15525_288.jpg
Description: 15525_288.jpg


Back to the top