Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Phantom .o file from header(Eclipse bug??)
Phantom .o file from header [message #1067674] Wed, 10 July 2013 01:40
Clay Codner is currently offline Clay CodnerFriend
Messages: 6
Registered: July 2013
Junior Member
I created a header file known.h and included it in the project with my main.cpp file. The build proceeds fine until the link stage. Eclipse did not create a known.o file from my header, but it adds known.o to the linker command line. The link obviously fails.

If I manually run the linker from within MinGW/msys and just omit the known.o reference, the program links and runs fine.

Anybody know why this is happening? Is it my fault? Is it a bug in Eclipse?

Thanks.
Previous Topic:indexer in Kepler is unusable, logs errors on *every* source file
Next Topic:Toolchain integration in CDT(Build artifact extension does not get changed)
Goto Forum:
  


Current Time: Fri Sep 13 02:20:58 GMT 2024

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

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

Back to the top