Skip to main content



      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 04:11 Go to next message
Eclipse UserFriend
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 164 times)
Re: Problem - Eclipse recognizes non-exists functions [message #1478510 is a reply to message #1477976] Tue, 18 November 2014 13:58 Go to previous messageGo to next message
Eclipse UserFriend
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).
Re: Problem - Eclipse recognizes non-exists functions [message #1479119 is a reply to message #1478510] Wed, 19 November 2014 02:00 Go to previous messageGo to next message
Eclipse UserFriend
>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 13:48 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: Problem - Eclipse recognizes non-exists functions [message #1484163 is a reply to message #1479798] Sun, 23 November 2014 02:01 Go to previous messageGo to next message
Eclipse UserFriend
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 02:43 Go to previous messageGo to next message
Eclipse UserFriend
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 04:28 Go to previous messageGo to next message
Eclipse UserFriend
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 04:57 Go to previous messageGo to next message
Eclipse UserFriend
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 04:59] by Moderator

Re: Problem - Eclipse recognizes non-exists functions [message #1527722 is a reply to message #1495554] Thu, 25 December 2014 04:18 Go to previous messageGo to next message
Eclipse UserFriend
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 05:22 Go to previous messageGo to next message
Eclipse UserFriend
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 06:14 Go to previous messageGo to next message
Eclipse UserFriend
Can you please create a minimal complete example and post it here?

Which operating system, version of Eclipse, compiler toolset?
Re: Problem - Eclipse recognizes non-exists functions [message #1571129 is a reply to message #1571038] Sun, 18 January 2015 07:27 Go to previous messageGo to next message
Eclipse UserFriend
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 07:41 Go to previous message
Eclipse UserFriend
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: Tue Jul 08 01:55:21 EDT 2025

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

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

Back to the top