Bug 90118 - binary file called memory are interpreted as an include file
Summary: binary file called memory are interpreted as an include file
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 13:28 EDT by Nicolas ANTONIAZZI CLA
Modified: 2020-09-04 15:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas ANTONIAZZI CLA 2005-04-03 13:28:05 EDT
I created a simple standard make C project.
My directory architecture is :

bin/
src/
include/

I compiled my source and it created a binary file called bin/memory

the CDT plugin detects it as an include file (include file icon on it) and it's
not possible to create a new runable application from it since the file is not
detected as an executable file.
If the makefile generate a file called test_memory, it works fine.
Comment 1 Chris Recoskie CLA 2009-05-07 15:01:23 EDT
Unfortunately this is because in the C++ content type definition, "memory" is listed, as it's also the name of a C++ header.  Not sure of any good way around this, but it's definitely a problem.

Reassigning to core.