[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 261306] 'Jump to definition/declaration' works incorrectly in
From:       Alexey Chernov <4ernov () gmail ! com>
Date:       2010-12-26 19:04:11
Message-ID: 20101226190411.5490B7908F () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=261306


Alexey Chernov <4ernov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |




--- Comment #2 from Alexey Chernov <4ernov gmail com>  2010-12-26 20:04:10 ---
OK, let's see at the whole sources then. Two file are attached. To reproduce:
1. Create empty project (I used CMake non-GUI project)
2. Add these two files to it. Don't try to compile as it won't.
3. Go to line #456 in foo.cpp, set cursor to 'read' call and use either Jump to
declaration or Jump to definition.
4. See that it jumped to unistd.h instead of the same foo.cpp source where read
method is defined.

Perhaps it depends on architecture, mine is x86_64. I also can confirm that the
compiler really calls read() method and not a function from unistd.h.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic