Eclipse Marketplace
Eclipse YouTube Channel
Bugzilla
Eclipse Forums
Planet Eclipse
Eclipse Wiki
My Foundation Portal
Home
Downloads
Users
Members
Committers
Resources
Projects
About Us
Eclipse Community Forums
Forum Search:
Search
Help
Register
Login
Home
Home
»
Language IDEs
»
CDT
»
Indexer doesn't understand GCC flags
Show:
Today's Messages
::
Show Polls
::
Message Navigator
Indexer doesn't understand GCC flags
[
message #818872
]
Mon, 12 March 2012 04:15
W Li
Messages:
10
Registered:
January 2011
Junior Member
Indexer is skipping functions where parameters are tagged with gcc flag UNUSED. This only happens after a recent CDT update.
Report message to a moderator
Re: Indexer doesn't understand GCC flags
[
message #819856
is a reply to
message #818872
]
Tue, 13 March 2012 08:14
Axel Mueller
Messages:
1830
Registered:
July 2009
Senior Member
I did not notice this behavior. Can you provide a simple example?
Before you ask
- search this forum
- see the FAQ
http://wiki.eclipse.org/CDT/User/FAQ
- google
Report message to a moderator
Re: Indexer doesn't understand GCC flags
[
message #853357
is a reply to
message #819856
]
Sun, 22 April 2012 20:44
W Li
Messages:
10
Registered:
January 2011
Junior Member
here is an example:
int foo(int para1 UNUSED, int para2)
{
//blah blah
}
Then eclipse will not be able to parse this function.
Report message to a moderator
Re: Indexer doesn't understand GCC flags
[
message #853675
is a reply to
message #853357
]
Mon, 23 April 2012 04:21
Axel Mueller
Messages:
1830
Registered:
July 2009
Senior Member
gcc uses a different syntax for unused arguments.
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Variable-Attributes.html
and
http://stackoverflow.com/questions/1486904/how-do-i-best-silence-a-warning-about-unused-variables
Your define UNUSED seems not to be defined anywhere.
Before you ask
- search this forum
- see the FAQ
http://wiki.eclipse.org/CDT/User/FAQ
- google
Report message to a moderator
Previous Topic:
Color preference problem
Next Topic:
Finding source files
Goto Forum:
- Newcomers
Newcomers
- Language IDEs
AJDT
COBOL
CDT
Java Development Tools (JDT)
PDT
Objectteams
- Modeling
AMP
Amalgam
AMW
B3
ATL
BPEL Designer
Compare
Ecore Tools
EMF
EMF Client
EMF Store
EMF "Technology" (Ecore Tools, EMFatic, etc)
Epsilon
eTrice
Extended Editing Framework (READ ONLY)
Eclipse Generation Factories (EGF)
GMF (Graphical Modeling Framework)
GMT (Generative Modeling Technologies)
Graphiti
M2T (model-to-text transformation)
MDT (Model Development Tools)
Modeling (top-level project)
OCL
Papyrus
TMF (Xtext)
UML2
UML2 Tools
XSD
MoDisco
MOFScript
Presentation Modeling Framework (PMF)
Sphinx
Textual Concrete Syntax (TCS)
UMLX
VIATRA2
Model-to-Model Transformation
QVT-OML
QVT-Relations
EMF Diff/Merge
- Eclipse Projects
ACTF
Apricot
ATF
Babel
BIRT
Blinki
BPMN 2.0 Modeler
Buckminster
Buckminster dev
C-Sharp
Code Recommenders
Commercial
Dali
Dash
DSDP
DSDP - Device Debugging
DSDP - Mobile Tools for Java (MTJ)
DSDP - Real-Time Software Components (RTSC)
DSDP - Target Management
DSDP - Tools for Mobile Linux (TML)
DTP
Dynamic Languages Toolkit (DLTK)
e(fx)clipse
eBAM
eBPM
Eclipse 4
Eclipse Bundle Recipes
Eclipse Communications Framework (ECF)
Eclipse Examples
Eclipse Platform
Eclipse Process Manager (Stardust)
Eclipse RT (runtime)
Eclipse Technology Project
Eclipse UML Profiles Repository
Eclipse Website
EclipseLink
EGit
EGL Development Tools
EMF Parsley
EMF-IncQuery
EPF
EPP
Equinox
eRCP
g-Eclipse
GEF
GEF3D
Gemini
GEMS
Gyrex
Higgins
Hudson
IDE4EDU
IMP
Java Workflow Tooling
Java WorkFlow Tooling (JWT)
JavaServer Faces
JFace
Jubula
Koneki
Libra
Linux Tools Project
Lyo
Mangrove
Marketplace Client Project
Maven Integration (M2E)
Memory Analyzer
Model Focusing Tools
MST
Mylyn
Mylyn Builds
Mylyn Intent
Mylyn Versions
NatTable
Nebula
OMCW
Orbit
Orion
OSEE
P2
Paho
Platform - User Assistance (UA)
Plugin Development Environment (PDE)
Remote Application Platform (RAP)
Remus Information Management
Requirements Modeling Framework
Rich Client Platform (RCP)
Riena
Runtime Analysis Tools
Runtime Packaging
Runtimes
Sapphire
scout
SeMantic Information Logistics Architecture (SMILA)
Sequoyah
Service Component Architecture (SCA) Tools
Service Oriented Architecture
Service Oriented Architecture
Service Oriented Architecture Tools Platform (STP)
Silverlight Development Toolkit (SLDT)
Simultaneous release
Sirius
Sisu
Skalli
Sketch
Spatiotemporal Epidemiological Modeler (STEM)
Standard Widget Toolkit (SWT)
Subversive
Swordfish
SWTBot
Target Communication Framework
Target Management
Technology Project and PMC
Test and Performance Tools Platform (TPTP)
Tigerstripe
Turkish Users
UOMo
Vex
Virgo
VJet
Voicetools
Wazaabi
Web Tools Project (WTP)
Webtools incubator
WindowBuilder
Woolsey
WTP - PAVE
XML Schema Definition (XSD)
Xtend
XWT
- General (non-technical)
Board committer reps
Polish users
Eclipse Foundation
Jobs and employment
Proposals
EclipseCon
Test
- Eclipse Working Groups
Pulsar
Automotive IWG
- Proposals
Potomac
secRT
OSGi Enterprise Tools
- Archived
Albireo
Service Oriented Architecture
AM3
openArchitectureWare
BPMN Modeler
Apogee
Corona
Hibachi
Glimmer
Maynstall
DSDP - Native Application Builder (NAB)
ORMF
Spaces
ScalaModules
Visual Editor (VE)
P2 dev
Cloud Deployment Toolkit
Memory Analyzer (MAT)
COSMOS
Esl
OFMP
Faceted Project Framework
IAM (Eclipse Integration for Apache Maven)
M2M (model-to-model transformation)
OHF
Tycho
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
]
Current Time:
Thu Jun 20 08:12:42 EDT 2013
Powered by
FUDForum
. Page generated in 0.01831 seconds