Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Strange errors when including .h-files(compiling and linking problem)
Strange errors when including .h-files [message #1750851] Fri, 30 December 2016 07:40 Go to next message
Lasse Karagiannis is currently offline Lasse KaragiannisFriend
Messages: 1
Registered: December 2016
Junior Member
Hi, I have a working code written into one file, which I've divied into .h and .c files, which are placed in the same folder as main.c.
I have an error pointing to the main function which I don't understand.
Please see attached picture, and please advice me on how to proceed.
Kindest regards, Lasse

index.php/fa/27980/0/
Re: Strange errors when including .h-files [message #1751188 is a reply to message #1750851] Thu, 05 January 2017 13:55 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
This seems to be a general C question, maybe off-topic for Eclipse.

You show too little of the code to see the error. My guess is that you're missing the terminating semicolon from the enumeration before main().


--

Tauno Voipio
Previous Topic:How do I adapt this info to my system so I can get this setup?
Next Topic:Multiple projects in Oxygen
Goto Forum:
  


Current Time: Tue Mar 19 08:52:51 GMT 2024

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

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

Back to the top