User forums > Nightly builds
The 22 April 2008 build (5010) is out.
killerbot:
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml
Before you use a nightly make sure you understand how it works.
A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx287.7z
For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc421.7z
The 22 April 2008 build is out.
- Windows :
http://prdownload.berlios.de/codeblocks/CB_20080422_rev5010_win32.7z
- Linux :
none
Resolved Fixed:
* Fixed: [Bug #13585] Reload dialog shows when autosave if enabled
* Fixed special comments confusing the C++ parser occasionally
* Fixed bug in temporary C++ buffer parsing leading to not recognizing some local vars (in some cases)
* New projects are now fully parsed for symbols after the wizard finishes
* lib_finder: Fixed bug causing new custom libraries to be removed
* Fixes to conditional variable handling
* Fixed a parsing error with stream operator (<<)
* Applied: [Patch #2442] AutoVersioning bugs, new features (For JGM)
* GCC support : added -std=c++98 and -Weffc++ compiler options
Regressions/Confirmed/Annoying/Common bugs:
* toolbar-images-not-changing-state (is a wx problem/Win XP problem)
CracKPod:
Following Error occured when trying to compile a Dynamic Link Library (DLL)
I'm using build 5010 with the MinGW library included in the official release.
Tab: Build Log:
--- Code: ---
-------------- Build: Release in SampleHook ---------------
Compiling: main.cpp
In file included from C:\Programme\CodeBlocks\Projects\SampleHook\main.cpp:2:
C:\Programme\CodeBlocks\Projects\SampleHook\detours.h:611:8: warning: extra tokens at end of #endif directive
mingw32-g++.exe: /W3: No such file or directory
mingw32-g++.exe: /DBUILD_DLL: No such file or directory
mingw32-g++.exe: /Ox: No such file or directory
mingw32-g++.exe: /DNDEBUG: No such file or directory
mingw32-g++.exe: /MD: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 1 warnings
--- End code ---
Tab: Build messages:
--- Code: ---C:\Programme\CodeBlocks\Projects\SampleHook\detours.h|611|warning: extra tokens at end of #endif directive|
||=== Build finished: 0 errors, 1 warnings ===|
--- End code ---
Well actually Code::Blocks just "compiles" the dll with a warning but in real it doesn't even create the dll which should be located at:
"C:\Programme\CodeBlocks\Projects\SampleHook\bin\Release"
The mingw32-g++.exe is located under : "C:\Programme\CodeBlocks\MinGW\bin" and the paths are all set in Code::Blocks.
The source of the program I try to compile (maybe it's my fault):
--- Code: ---#include <windows.h>
#include "detours.h"
//#pragma comment(lib, "detours.lib")
int (__stdcall *InsertDateTime)(int x);
int (__stdcall *SetTitle)(LPCWSTR lpString1);
int MyInsertDateTime(int x)
{
MessageBox(NULL, "InsertDateTime Just Got Called", "InsertDateTime", MB_OK);
return InsertDateTime(x);
}
int MySetTitle (LPCWSTR lpString1)
{
return SetTitle((LPCWSTR)L"Hooked");
}
BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call) //Decide what to do
{
case DLL_PROCESS_ATTACH: //On dll attach
{
InsertDateTime = (int (__stdcall*)(int))DetourFunction((PBYTE)0x01006F10, (PBYTE)MyInsertDateTime);
SetTitle = (int (__stdcall *)(LPCWSTR))DetourFunction((PBYTE)0x01002A55, PBYTE(MySetTitle));
break;
}
case DLL_THREAD_ATTACH: //On thread attach
break;
case DLL_THREAD_DETACH: //On thread detach
break;
case DLL_PROCESS_DETACH: //On process detach
{
DetourRemove((PBYTE)0x1006F10, (PBYTE)InsertDateTime);
DetourRemove((PBYTE)0x01002A55, (PBYTE)MySetTitle);
break;
}
}
return 1;
}
--- End code ---
It works when using the Microsoft Visual C++ 2008 Express Edition - Compiler though. I would be happy to see this fixed or getting help :)!
CracKPod
zortich:
so litle bigs are fixed.
Is codeblocks dieng?
MortenMacFly:
--- Quote from: CracKPod on April 22, 2008, 07:44:27 pm ---The source of the program I try to compile (maybe it's my fault):
--- End quote ---
You are trying to compile a project with Visual C++ compiler options with MinGW. This won't work. Either you fully port your project to the MinGW compiler suite (by removing invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] options) or switch to the VC compiler.
And in fact that's not an error but just a warning: You are not using the compiler correctly. And that's what the compiler and thus C::b is telling you. ;-)
MortenMacFly:
--- Quote from: zortich on April 22, 2008, 08:21:47 pm ---Is codeblocks dieng?
--- End quote ---
What a "cool" question. :? Well... don't we all die one day?! But probably it's just a regression thus C::B has not as many errors that needs to be fixed as in the past... right?! Just choose your option.
Navigation
[0] Message Index
[#] Next page
Go to full version