User forums > Nightly builds

The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.

<< < (9/19) > >>

Loaden:

--- Quote from: helpse on September 23, 2010, 07:41:18 am ---Ok, so i see its at revision 6627, but i cant compile it since i didnt configure wxwidgets yet. Could any1 compile and upload CB rev 6627? Thank you!

--- End quote ---
Same as r6627.
http://portablecb.googlecode.com/files/CB_CCBRANCH_6623_patched.7z
Or, waiting the next nightly build.

helpse:
I just tried that 6623. The bug isn't fixed.

This is what i get from compiling a project:


--- Code: ---mingw32-g++.exe -Wall  -g     -c "C:\[Sergio]\C++\C++ Projects\test\main.cpp" -o obj\Debug\main.o
mingw32-g++.exe  -o bin\Debug\test.exe obj\Debug\main.o   -enable-auto-import  -lcomctl32 -lgdi32
--- End code ---


And from compiling a single file:


--- Code: --- mingw32-g++.exe   -c "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.cpp" -o "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.o"
 mingw32-g++.exe  -o "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.exe" "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.o"
--- End code ---

The difference is that when i build a project, it linkes the libraries i have setted  in Compiler & Debugger -> Linker Settings. So it works fine.

But when i build a single file, with NO project, it doesnt link the libraries, and it SHOULD. The building log, for this case should be:


--- Code: --- mingw32-g++.exe   -c "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.cpp" -o "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.o"
 mingw32-g++.exe  -o "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.exe" "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.o"
 -enable-auto-import  -lcomctl32 -lgdi32
--- End code ---

That seems easy to fix...

Jenna:
I can confirm this, and it works on debugger-branch and trunk.

@helpse:
the enable-auto-import option should be: -Wl,--enable-auto-import .

Loaden:
It must has some thing wrong in this commit.

--- Quote ---Revision: 6238
Author: mortenmacfly
Date: 2010-5-16 2:18:56
Message:
* applied patch "Fix compiler invalid bug, when the default compiler does not exist" (http://forums.codeblocks.org/index.php/topic,12351.0.html)
-------------------------------
M : /branches/codecompletion_refactoring/src/plugins/compilergcc/compilergcc.cpp
--- End quote ---

Loaden:

--- Quote from: jens on September 23, 2010, 11:28:17 am ---I can confirm this, and it works on debugger-branch and trunk.

@helpse:
the enable-auto-import option should be: -Wl,--enable-auto-import .

--- End quote ---
Hi, Jens, could you trying this patch?
The patch just to revert r6238.

If this patch can solved the issue, please commit it in cc branch, thanks!

@helpse
Could you trying this build?
http://portablecb.googlecode.com/files/CB_CCBRANCH_6627_patched.7z

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version