Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT UI - What does this icon mean?
CDT UI - What does this icon mean? [message #902811] Mon, 20 August 2012 10:56 Go to next message
Eclipse UserFriend
Hi all,

I have this icon (in the red square) on the file that contains the "main" function in a project of mine

index.php/fa/11244/0/

Does anyone know what the icon means? I thought it meant that the source file is excluded from the current build configuration but the file is actually included in the current active configuration. It is also included in the compiled artifact but the debugger can't find it as a source file.

I would be grateful if someone could tell me what this means and how to return the file to a "normal" C++ file icon. Thanks.

[Updated on: Mon, 20 August 2012 10:57] by Moderator

Re: CDT UI - What does this icon mean? [message #902823 is a reply to message #902811] Mon, 20 August 2012 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Yes, this icon means "Excluded from Build". You should be able to unmark it right-click ing on file, selecting "Properties" and uncheck "Exclude resource from build" checkbox. If it does not work you can try right-click ->"Resource Configurations"->"Reset to Default"

Andrew
Re: CDT UI - What does this icon mean? [message #902829 is a reply to message #902823] Mon, 20 August 2012 12:16 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Andrew. "Reset to Default" is grayed out in my Eclipse instance. The other option worked though. But I've noticed that the file status (and icon) is dependent solely on the first checkbox below

index.php/fa/11245/0/

meaning that whether checkboxes other than the top checkbox are ticked or not doesn't affect the file's status as "excluded from build".

Is it normal? I would have thought that the view would refresh according to the active build configuration. What do you think?
Re: CDT UI - What does this icon mean? [message #902852 is a reply to message #902829] Mon, 20 August 2012 14:08 Go to previous messageGo to next message
Eclipse UserFriend
CDT editor and Explorer reflect not active build configuration but configuration which is being indexed. See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=313944.

Andrew
Re: CDT UI - What does this icon mean? [message #903006 is a reply to message #902811] Tue, 21 August 2012 11:20 Go to previous message
Eclipse UserFriend
Ah, indeed. Thanks again.
Previous Topic:CDT Debugger(gdb/mi) Console Bug
Next Topic:Automatic discovery of paths - explanation?
Goto Forum:
  


Current Time: Thu Jun 19 00:36:54 EDT 2025

Powered by FUDForum. Page generated in 0.04461 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top