Author Topic: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.  (Read 84272 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #45 on: September 23, 2010, 12:24:04 pm »
Fix system headers complete hangs.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #46 on: September 23, 2010, 05:48:06 pm »
Fix system headers complete hangs.
I see this in the patch:
+            return !!m_Locker;
Before digging deeper into it: Is that what you want or a mistake?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline helpse

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #47 on: September 23, 2010, 07:00:15 pm »
@helpse
Could you trying this build?
http://portablecb.googlecode.com/files/CB_CCBRANCH_6627_patched.7z

Loaden, i just tried 6627, and my issue isnt solved yet. And my friend is having the same issue. The problem seems easy to me:

Single files are not linking the libraries setted in Compiler & Debugger -> Linker Settings.

The build log still remains the same:

Code
mingw32-g++.exe   -c "C:\[Sergio]\C++\C++ Projects\Matrix\console_test.cpp" -o "C:\[Sergio]\C++\C++ Projects\Matrix\console_test.o"
mingw32-g++.exe  -o "C:\[Sergio]\C++\C++ Projects\Matrix\console_test.exe" "C:\[Sergio]\C++\C++ Projects\Matrix\console_test.o"

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #48 on: September 23, 2010, 07:20:01 pm »
I found the cause and will commit a fix later.

Offline helpse

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #49 on: September 23, 2010, 07:35:39 pm »
Thanks. After u fix this bug, please also post a compiled version.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #50 on: September 23, 2010, 08:45:04 pm »
Thanks. After u fix this bug, please also post a compiled version.
No !
Two reasons:
I do not compile on demand (I have a "real" life next to C::B and a job to earn my money and a family that comes first),
and second I do not compile windows versions (except for my own needs), just debian.

Offline helpse

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #51 on: September 23, 2010, 09:01:41 pm »
Ok. If u have time, commit a patch, and if u have time, post it.

I was asking for compiled versions cause i cant compile CB since i have not been able to build wxwidgets. It keeps getting me errors when i try. I think i will just use a wxpack.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #52 on: September 23, 2010, 09:29:48 pm »
Ok. If u have time, commit a patch, and if u have time, post it.

I was asking for compiled versions cause i cant compile CB since i have not been able to build wxwidgets. It keeps getting me errors when i try. I think i will just use a wxpack.

Why not wait for the next nightly as all other users do ?

By the way the fix is comitted in svn r6631 (it was caused by parts of commit 6594 in compilercommmandgenerator.cpp), I also reverted commit 6629, that does not cause the issue.

EDIT:
If you can not wxwidgets as described here (more detailed) or here you should find out what's going wrong, because compiling wxWidgets on windows is real trivial in my opinion.
« Last Edit: September 23, 2010, 09:34:05 pm by jens »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #53 on: September 24, 2010, 03:19:36 am »
By the way the fix is comitted in svn r6631 (it was caused by parts of commit 6594 in compilercommmandgenerator.cpp), I also reverted commit 6629, that does not cause the issue.
It is my fault, thank Jens! :(

Offline helpse

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #54 on: September 24, 2010, 03:25:22 am »
I was needing it to be fixed cause CB isnt allowing me compile a single file. Anyways, thanks for looking into that issue.

Loaden, can u upload a compiled version of that 6631 for those of us who cant compile CB? Thank you.

And jens, i was trying to build wxwidgets following all those wiki pages, and no luck. Seems like wxwidgets is having troubles with recent versions of gcc, but well, thats matter of another post, not this one.

Some1 with some free time please post a compiled version. Thank you.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #55 on: September 24, 2010, 04:19:52 am »
1. Add more comments (thank ollydbg)
2. Make headers code the same style
3. Remove "using namespace std" declaration
4. Remove some obsolete code

Here is the new portable build, enjoy! :D
http://portablecb.googlecode.com/files/CB_CCBRANCH_6631_patched.7z

@killerbot
Can you take time out at the weekend and then publish a cc_branch build?
Thanks a lot!

@All
Now that we could not find some new issue have related cc branch.
After next nightly build, the feedback if there is no problem, I suggest merging with trunk (cc branch to trunk).
« Last Edit: September 24, 2010, 04:23:21 am by Loaden »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #56 on: September 24, 2010, 04:21:46 am »
1. Add more comments (thank ollydbg)
2. Make headers code the same style
3. Remove "using namespace std" declaration
4. Remove some obsolete code

Here is the new portable build, enjoy! :D
http://portablecb.googlecode.com/files/CB_CCBRANCH_6631_patched.7z

@killerbot
Can you take time out at the weekend and then publish a cc_branch build?
Thanks a lot!

@All
Now that we could not find some new issue have related cc branch.
After next nightly build, the feedback if there is no problem, I suggest merging with the trunk (cc branch to trunk).

Nice!
BTW:
the attachment file was wrong (file size =0K???) , you need to re-upload it again.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #57 on: September 24, 2010, 04:23:53 am »
BTW:
the attachment file was wrong (file size =0K???) , you need to re-upload it again.
Re-upload again. Thanks!

Offline helpse

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #58 on: September 24, 2010, 04:37:37 am »
Thank you! Finally u fixed that bug.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
« Reply #59 on: September 24, 2010, 07:31:50 am »
all 3 nightlies coming this weekend :-)