Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Conditional jump or move depends on uninitialised value(s)
Re: Conditional jump or move depends on uninitialised value(s) [message #19852 is a reply to message #19849] |
Tue, 27 January 2009 10:25 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Tue, 27 January 2009 00:06 | Thanks. All reported uninitialised values are gone.
luzr wrote on Mon, 26 January 2009 11:29 | Interesting.
theide not working in win64, that is a new one... Going to check it soon - have not for a while.
|
I got XP x64 in my current company and tried to build and use 64-bit version of TheIDE. I managed to build and launch it, but got no luck with putting brackpoints.
|
Ah, well. Debugger not working, that is expected, at least sort of. Some more work is needed there.
Index: uppsrc/Core/Gtypes.h
===================================================================
--- uppsrc/Core/Gtypes.h (revision 812)
+++ uppsrc/Core/Gtypes.h (working copy)
@@ -60,7 +60,7 @@
String ToString() const;
- Size_() {}
+ Size_() : cx(0), cy(0) {}
Size_(T cx, T cy) : cx(cx), cy(cy) {}
Size_(const Size_<int>& sz) : cx((T)sz.cx), cy((T)sz.cy) {}
Well, that is how it is meant to be. If you do not initialize Size, it is not initialized...
The point is
Buffer<Size> x(1000);
I might not want to have implicit memset(&x, 0, 4000) - what if I know I am going to change these sizes immediately to something else?
Mirek
|
|
|
|
|
Conditional jump or move depends on uninitialised value(s)
By: Novo on Mon, 26 January 2009 02:35
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: mirek on Mon, 26 January 2009 10:04
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: Novo on Mon, 26 January 2009 16:10
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: mirek on Mon, 26 January 2009 17:29
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: Novo on Tue, 27 January 2009 06:06
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: mirek on Tue, 27 January 2009 10:25
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: Novo on Wed, 28 January 2009 05:43
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: mrjt on Wed, 28 January 2009 09:46
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: mirek on Wed, 28 January 2009 16:21
|
|
|
Re: Conditional jump or move depends on uninitialised value(s)
By: Novo on Thu, 29 January 2009 02:56
|
Goto Forum:
Current Time: Mon Apr 29 11:04:15 CEST 2024
Total time taken to generate the page: 0.02346 seconds
|