Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem - Eclipse recognizes non-exists functions(Eclipse recognizes non-exists functions)
Problem - Eclipse recognizes non-exists functions [message #1477976] Tue, 18 November 2014 09:11 Go to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
Hello,
I'm using Eclipse Kepler with 'c' language.
When i'm writing some unknown function, the compiler dosen't show an error as you can see in the attached picture.
Please advise, What should i do??
Thank you.

  • Attachment: FPWy0eA.png
    (Size: 8.94KB, Downloaded 139 times)
Re: Problem - Eclipse recognizes non-exists functions [message #1478510 is a reply to message #1477976] Tue, 18 November 2014 18:58 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
On 18-11-14 15:10, kobi danone wrote:
> Hello,
> I'm using Eclipse Kepler with 'c' language.
> When i'm writing some unknown function, the compiler dosen't show an error as you can see in the attached picture.
> Please advise, What should i do??
> Thank you.

Why do you think that the compiler has anything to do with whatever you
see or don't see? What is the compiler output in the build console?

I think you think that the compiler checks what you type: it does not.
Any errors you see while typing are reported by the editor (indexer).


Cheers,

Joost
Re: Problem - Eclipse recognizes non-exists functions [message #1479119 is a reply to message #1478510] Wed, 19 November 2014 07:00 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
>Why do you think that the compiler has anything to do with whatever you
>see or don't see? What is the compiler output in the build console?

>I think you think that the compiler checks what you type: it does not.
>Any errors you see while typing are reported by the editor (indexer).

OK, So how i can fix that?
And the compiler output is build seccesfully.
Re: Problem - Eclipse recognizes non-exists functions [message #1479798 is a reply to message #1479119] Wed, 19 November 2014 18:48 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
On 19-11-14 08:00, kobi danone wrote:
>> Why do you think that the compiler has anything to do with whatever
>> you see or don't see? What is the compiler output in the build console?
>
>> I think you think that the compiler checks what you type: it does not.
>> Any errors you see while typing are reported by the editor (indexer).
>
> OK, So how i can fix that? And the compiler output is build seccesfully.

If the compiler output suggests that the build is successful then what
is the problem that you want to fix?


Cheers,

Joost
Re: Problem - Eclipse recognizes non-exists functions [message #1484163 is a reply to message #1479798] Sun, 23 November 2014 07:01 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
I want to see error when compiling non-exists function.
notExistsFunctionButNoErrorShown();

Thanks.
Re: Problem - Eclipse recognizes non-exists functions [message #1495425 is a reply to message #1484163] Tue, 02 December 2014 07:43 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
Update:

I tested on anouther computer and different Eclipses.
In all my tests the results are the same:
notExistsFunctionButNoErrorShown();

*I need to see the error before the build function.

Please advise what should i change in the settings or what to do in order to see the error.
Re: Problem - Eclipse recognizes non-exists functions [message #1495526 is a reply to message #1495425] Tue, 02 December 2014 09:28 Go to previous messageGo to next message
Mateusz Malinowski is currently offline Mateusz MalinowskiFriend
Messages: 36
Registered: March 2013
Location: Bristol
Member
Hi Kobi,

Have you tried rebuilding index? Like Joost said, it's up to it to show any errors in the editor. Right click on project -> Index -> rebuild.
Also you project may be built correctly, because Eclipse do not clean project before building. It's quite complicated for me to explain, but try to clean your project first (or manually delete Debug or Release folders) and build it again. That should throw errors if you use undefined functions.
Re: Problem - Eclipse recognizes non-exists functions [message #1495554 is a reply to message #1495526] Tue, 02 December 2014 09:57 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
I tried to rebuilding index, i tried clean and build again.
now the compiler cannot build because of the not-exists function, he show me error in the console but in the error list i see only generic error and i can't "jump" into the nut-exists function error.
Also, in the code, i don't see any error in the call for the not-exist function.

How can i see the not-exist error in the error list ?

Thank you for the responses.

[Updated on: Tue, 02 December 2014 09:59]

Report message to a moderator

Re: Problem - Eclipse recognizes non-exists functions [message #1527722 is a reply to message #1495554] Thu, 25 December 2014 09:18 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
Any help? Did someone try it on his PC as well?
Re: Problem - Eclipse recognizes non-exists functions [message #1570976 is a reply to message #1527722] Sun, 18 January 2015 10:22 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
Update:
When I try to call a function which does not exist outside another function (normal function which works) then an error appears and everything is fine.
If I try to call a function which does not exist from inside another function (normal function which works) then an error L6218E appears but I can not "jump" to it and know where is the error.
Please help!
Re: Problem - Eclipse recognizes non-exists functions [message #1571038 is a reply to message #1570976] Sun, 18 January 2015 11:14 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Can you please create a minimal complete example and post it here?

Which operating system, version of Eclipse, compiler toolset?


--

Tauno Voipio
Re: Problem - Eclipse recognizes non-exists functions [message #1571129 is a reply to message #1571038] Sun, 18 January 2015 12:27 Go to previous messageGo to next message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
Win 7 64b, Eclipse Kepler, RVCT 3.0.

I'll try to ask it in other way:
When calling to un-exists function i received L6218E error message.
I can't "go to" the error location in the program.

How can i "go to" the error location?

Thank you.
Re: Problem - Eclipse recognizes non-exists functions [message #1591290 is a reply to message #1571129] Thu, 29 January 2015 12:41 Go to previous message
kobi danone is currently offline kobi danoneFriend
Messages: 14
Registered: November 2014
Junior Member
Update:
When compiling with RVCT3.0 compiler i can't "jump" to this error.
When compiling with GCC compiler all works fine.
It is Bug with the compiler? how can i fix it?

Thank you.
Previous Topic:import pdom file manually
Next Topic:ANSI Standard C++ in Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 00:09:15 GMT 2024

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

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

Back to the top