[Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-10 Thread Ivan Vucica
any pointers?) If this has been fixed already, please tell me so and I'll upgrade. Ivan Vucica - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell

Re: [Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-11 Thread Ivan Vucica
Forgot to reply to the list, my to original Carnsten response below: On Dec 10, 2007 5:32 PM, Carsten Sørensen [EMAIL PROTECTED] wrote: On Dec 10, 2007 2:28 PM, Ivan Vucica [EMAIL PROTECTED] wrote: Casting a char* into uint32_t*, unsigned int* or int* and then using it with operator

Re: [Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-11 Thread Ivan Vucica
On Dec 11, 2007 4:28 PM, Nuno Lucas [EMAIL PROTECTED] wrote: Allocated memory should always come aligned. That's not the problem. I would guess the problem is the array base address in the stack (on IA32 the stack is always aligned by 32 bits, but that can not be true on other platforms).

Re: [Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-11 Thread Ivan Vucica
On Dec 11, 2007 7:48 PM, Nuno Lucas [EMAIL PROTECTED] wrote: http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html#Variable-Attributes Don't know how I forgot to include that option, sorry. Probably too focused on portable code. Regards, ~Nuno Lucas Hi, I presumed it's something

Re: [Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-12 Thread Ivan Vucica
On Dec 12, 2007 6:27 PM, Nuno Lucas [EMAIL PROTECTED] wrote: uint8_t getu8(char **p) { uint8_t a = **p; *p ++; return a; } uint16_t getu16(char **p) { uint16_t a = **p + (*(*p+1) 8); // please ignore endianess *p +=2; return a; } I wouldn't trust

Re: [Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-13 Thread Ivan Vucica
On Thu, 13 Dec 2007, Nuno Lucas wrote: Explaining a bit more what I had mean, you are doing an 8-bit shift on a char. Some compilers will first convert the value to int and then do the shift, while others will apply the shift to the 8-bit value (meaning the result will always be 0). I

[Cegcc-devel] [Mingw32ce] Issues when casting char* = uint32_t* and using the [] operator

2007-12-14 Thread Ivan Vucica
Accidentally clicked on Reply in place of Reply to All. My bad. On Dec 14, 2007 12:39 AM, Pedro Alves [EMAIL PROTECTED] wrote: Ivan Vucica wrote: In that sad case, I'll leave the code as it is. Now that's silly. You've been told the compiler is not at fault here. Which I accept

Re: [Cegcc-devel] missing random, randomize

2008-01-03 Thread Ivan Vucica
-devel Isn't it: int rand(void); void srand(unsigned int seed); Cheers, -- Ivan Vucica - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com

Re: [Cegcc-devel] What's your favorite API documentation resource?

2008-01-28 Thread Ivan Vucica
documentation. (MSDN isn't perfect even for Win32 , but it's the best bet, and great reference.) Hope I helped just a tiny bit! Ivan Vucica On Mon, 28 Jan 2008, Georg Gogo. BERNHARD wrote: Dear cegcc-devel list! I am looking for decent WinCE API documentation. Are there some

Re: [Cegcc-devel] Building xwords: diffs available?

2008-02-04 Thread Ivan Vucica
it down, thanks :) --- Ivan Vucica- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

Re: [Cegcc-devel] Building xwords: diffs available?

2008-02-05 Thread Ivan Vucica
Is there really a gnome-vfs/nautilus plugin? I know there is a KDE one but it's pretty buggy over here. Debian over here -- I'm not really the build-from-source guy so I probably don't have latest upstream. Ivan Vucica On Tue, 5 Feb 2008, Danny Backx wrote: Hmm, when using

Re: [Cegcc-devel] compiled files in cegcc svn repository

2008-06-12 Thread Ivan Vucica
Sebastien, just a side note (I'm just watching this list and not dev'ing much using cegcc or mingw32ce; and I agree that your issue is right). You may want to see what the directories are, and then just check out those you are interested in, e.g. omitting libjava folder. If this is not possible,

Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Ivan Vucica
suggestion. On 14/07/2008, Eric Perera [EMAIL PROTECTED] wrote: Is there any simulator to test build packages with CeGCC (*** arm-wince-mingw32ce-gcc*)? 2008/7/11 Ivan Vucica [EMAIL PROTECTED]: AFAIK WinCE (at least the PocketPC/WM version) has no command prompt, and thus no batch files

Re: [Cegcc-devel] cegcc-4.1.2 : need your testing

2008-08-04 Thread Ivan Vucica
Or perhaps you could join our fine developers in the project? Perhaps an invitation from them would be in order? :) On Mon, Aug 4, 2008 at 10:25, [EMAIL PROTECTED] wrote: I can stop posting here and work on my own ;-) On Sun, 03 Aug 2008 20:25:25 +0200, Danny Backx [EMAIL PROTECTED]

Re: [Cegcc-devel] Memory problem on CE

2008-10-18 Thread Ivan Vucica
On Sat, Oct 18, 2008 at 10:50, Vincent Torri [EMAIL PROTECTED] wrote: On Sat, 18 Oct 2008, Ivan Vucica wrote: Vincent, those sentences refer to a _*currently running_* application, not to a recently terminated. This paragraph implies that WindowsCE _does_ perform a cleanup

Re: [Cegcc-devel] Memory problem on CE

2008-10-18 Thread Ivan Vucica
On Sat, Oct 18, 2008 at 11:13, Vincent Torri [EMAIL PROTECTED] wrote: so, the case where the program gets informations continuously from internet and stores it in a single linked list, and the program does not free it (because it needs it during all its execution), except when it finishes, is