User forums > Nightly builds

The 21 October 2012 build (8466) is out.

<< < (2/2)

MortenMacFly:

--- Quote from: jens on October 22, 2012, 01:21:27 am ---Can you test the following patch:

--- End quote ---
Are you sure that you want to fix it this way? Because then you remove an overridden method of cbPlugin and thus the configuration dialog shown "Settings" should not longer work. I would do it the other way round (as I already suggested in another forum post, but obviously SharkCZ missed to search before posting).

stahta01:
Warning on CB Trunk SVN 8468

--- Code: ---||=== Code::Blocks wx2.8.x, src ===|
src\src\breakpointsdlg.cpp|10|warning: .objs\include/sdk_precomp.h.gch: not used because `EXPORT_LIB' not defined [-Winvalid-pch]|

--- End code ---

Possible patch; still waiting for CB to finish Compiling; before I can test the obvious patch.
Very sleepy, I might be wrong.
edit: Finally got to test the patch the warning went away.

Note: This is likely Windows only warning that requires the option "-Winvalid-pch" for it to be seen.


--- Code: ---Index: src/src/breakpointsdlg.cpp
===================================================================
--- src/src/breakpointsdlg.cpp (revision 8468)
+++ src/src/breakpointsdlg.cpp (working copy)
@@ -7,7 +7,7 @@
  * $HeadURL$
  */
 
-#include "sdk_precomp.h"
+#include "sdk.h"
 
 #ifndef CB_PRECOMP
 #   include <algorithm>

--- End code ---

Tim S.

hongwenjun:
Auto-Complete : Bug

User-defined auto-complete code templates
Enter Key, press Ctrl + J,
Added more empty line

Jenna:

--- Quote from: MortenMacFly on October 22, 2012, 07:04:01 am ---
--- Quote from: jens on October 22, 2012, 01:21:27 am ---Can you test the following patch:

--- End quote ---
Are you sure that you want to fix it this way? Because then you remove an overridden method of cbPlugin and thus the configuration dialog shown "Settings" should not longer work. I would do it the other way round (as I already suggested in another forum post, but obviously SharkCZ missed to search before posting).

--- End quote ---
Me too, or beeter I guess I have read it (renaming the eventhandler to OnConfigure, if I remember correctly).
It is indeed the correct way.

MortenMacFly:

--- Quote from: jens on October 22, 2012, 09:59:27 am ---Me too, or beeter I guess I have read it (renaming the eventhandler to OnConfigure, if I remember correctly).
It is indeed the correct way.

--- End quote ---
OK, so here is the topic for reference:
http://forums.codeblocks.org/index.php/topic,16972.msg115656.html#msg115656

However, I still wonder why these two methods with completely different signatures fail on "old" compilers. I mean: 4.4.x is not that old. I wonder why that is the case.

However, we can change it the way as suggested if it helps.

Navigation

[0] Message Index

[*] Previous page

Go to full version