Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse error when including source (not header)(Eclipse error when including source (not header))
Eclipse error when including source (not header) [message #893403] Tue, 03 July 2012 19:07
Eclipse UserFriend
Hello and thanks for helping. In my CDT project, I have C-source code file that includes an external source code file:

#include "other_source_file.c"

The project builds fine but Eclipse keep bringing up errors when editing this file with auto-compile that certain structures are undefined, and yet they are defined...in the external source code. The specific error is

type some-variable is undefined

To be clear, some-variable is defined...in other_source_file.c. How can I get Eclipse to not report these errors which clearly are not errors? Thanks!

David

[Updated on: Tue, 03 July 2012 19:23] by Moderator

Previous Topic:Setting up MinGW for Eclipse error
Next Topic:What am I doing wrong?
Goto Forum:
  


Current Time: Mon Aug 04 03:07:24 EDT 2025

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

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

Back to the top