User forums > Using Code::Blocks

Time used to open a file

<< < (8/10) > >>

MortenMacFly:

--- Quote from: jens on October 28, 2011, 05:38:23 pm ---Updated wxHashSet-patch (against svn r7546).

--- End quote ---
Jens, after testing for a couple of days I think this patch still has serious issues. I am facing the following strange phenomena:

* The ordering of the files in the project file always change for each save - bad. :-(
* If I copy a target ion the project settings, the "build files" are empty
* Clicking in the build files crashes C::B (even without creating as log)So... something is seriously wrong here, unfortunately.

Could you check, if you see files in the project's build options (lower right part)?

MortenMacFly:
...ok, one thing I noticed is a bug that gets introduces with this path. In nativeparser.cpp you exchange:
-    for (int i = 0; project && i < project->GetFilesCount(); ++i)
...with:
+    for (FilesList::iterator it = project->GetFilesList().begin(); it != project->GetFilesList().end(); ++it)
Thus, you missed the NULL pointer check (notice project && i < project->GetFilesCount()). Surrounding this for loop with a if (project) clause resolves some crashes at least.

Jenna:
I will check for misiing nullpointer-checks as soon as possible (I never had any crashes).
And of course test all others issues you have described also.

MortenMacFly:

--- Quote from: jens on November 09, 2011, 01:52:40 pm ---I will check for misiing nullpointer-checks as soon as possible (I never had any crashes).

--- End quote ---
I think that was the only one. The crash in that case is gone.


--- Quote from: jens on November 09, 2011, 01:52:40 pm ---And of course test all others issues you have described also.

--- End quote ---
Besides the project file changes the only major remaining issue is in the project properties dialog: You don't even need to copy a target. The build file list is always empty. And if you click into it C::B crashes w/o backtrace (!). Looks its related to the fact that you set the project file as client data to the checked list...

Jenna:

--- Quote from: MortenMacFly on November 09, 2011, 02:04:06 pm ---
--- Quote from: jens on November 09, 2011, 01:52:40 pm ---I will check for misiing nullpointer-checks as soon as possible (I never had any crashes).

--- End quote ---
I think that was the only one. The crash in that case is gone.


--- Quote from: jens on November 09, 2011, 01:52:40 pm ---And of course test all others issues you have described also.

--- End quote ---
Besides the project file changes the only major remaining issue is in the project properties dialog: You don't even need to copy a target. The build file list is always empty. And if you click into it C::B crashes w/o backtrace (!). Looks its related to the fact that you set the project file as client data to the checked list...

--- End quote ---

I can reproduce the random fileorder, I hope it can be fixed easily.
I can see all my files in the "Build targets" tab, and there is no crash.
Either it's a windows-special, or you need to do a really clean build, with manually removed pch's etc. .

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version