User forums > Nightly builds

The 01 September 2015 build (10474) is out.

<< < (2/4) > >>

ollydbg:

--- Quote from: carra on September 02, 2015, 01:31:32 pm ---Seems to run fine under windows :)

I can report news regarding the issues I posted here:

* As you can see in image 1, the error when using initializers has been corrected
* I have verified (see image 2) that CC parsers actually ARE recognising all members of my classes right!

--- End quote ---
Good to hear. :)


--- Quote ---However, for classes not belonging to the current project, it fails to show any suggestions. In the image, when I typed "V55.", code completion did not show its members...[/li]
[/list]

--- End quote ---
How can I reproduce your bug, are there any sample code snippet?
EDIT: if a file is not belong to the active project, then its content is not parsed(if you enable the option as one parser for a project)



carra:

--- Quote ---How can I reproduce your bug, are there any sample code snippet?
--- End quote ---
Sure, I have attached here a ZIP file of a very simple project where this happens (see the image). The error seems to come from namespaces: code completion triggers as expected if I simply define the following class and use it in Main.cpp


--- Code: ---namespace Math
{
    class Vector2D{ ... };
}
--- End code ---

However when the class is exported into another namespace, and a source file uses this second namespace, code completion will not trigger.

ollydbg:

--- Quote from: carra on September 03, 2015, 12:20:27 pm ---
--- Quote ---How can I reproduce your bug, are there any sample code snippet?
--- End quote ---
Sure, I have attached here a ZIP file of a very simple project where this happens (see the image). The error seems to come from namespaces: code completion triggers as expected if I simply define the following class and use it in Main.cpp


--- Code: ---namespace Math
{
    class Vector2D{ ... };
}
--- End code ---

However when the class is exported into another namespace, and a source file uses this second namespace, code completion will not trigger.

--- End quote ---
OK, I can confirm it, this is a bug in CC, since CC doesn't handle the namespace export command. (CC just skip that statement).
Please report to the sourceforge ticket with the sample code, so that this bug won't get lost. Thanks.

About how to fix this bug, I don't have a clean idea, maybe, we need to remember the exported symbol as a child symbol in a namespace token? Maybe, we need a special field of the namespace token.

carra:
Glad you can reproduce it Olly. I created the ticket, it's number #208.

About the way to fix it, I have no idea of how CC works. But since the old one had always handled this case correctly, maybe you can see how it was done back then.

Also, I seem to have messed the formatting badly in the ticket description, and there doesn't seem to be any way to edit it. If you are an admin there, feel free to correct it ;)

ollydbg:

--- Quote from: carra on September 04, 2015, 07:40:47 am ---Glad you can reproduce it Olly. I created the ticket, it's number #208.

About the way to fix it, I have no idea of how CC works. But since the old one had always handled this case correctly, maybe you can see how it was done back then.

--- End quote ---
Really? But I think CC has never handle this case before, which revision did you see works OK?


--- Quote ---Also, I seem to have messed the formatting badly in the ticket description, and there doesn't seem to be any way to edit it. If you are an admin there, feel free to correct it ;)

--- End quote ---
Done. Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version