signal_arc.c failing to cross-compile

2011-10-27 Thread Roger Cruz
Hi Andre et al, Wondering if any of you know how to get around this?  The compiler is barfing at the lack of ucontext_t when doing a typedef of SIGCONTEXT. Thanks in advance, Roger R. Cruz arm-linux-androideabi-gcc -c -I/home/rcruz/sandbox/wine-dev-branch/dlls/ntdll -I. -I/home/rcruz/sandbox

Re: basic_ifstream implementation

2011-10-27 Thread Josh Juran
On Oct 27, 2011, at 12:35 AM, Piotr Caban wrote: > On 10/27/11 2:01 AM, Josh Juran wrote: >> On Oct 26, 2011, at 11:59 AM, Josh Juran wrote: >> >>> I'm ready to begin work on a basic_ifstream implementation for Wine, which >>> is needed for the game Vampire Secrets among others. > In order to im

Re: cmd: Avoid mixing signed and unsigned type in conditional expression

2011-10-27 Thread Michael Stefaniuc
On 10/27/2011 02:09 PM, Frédéric Delanoy wrote: > On Thu, Oct 27, 2011 at 08:38, Eric Pouech wrote: >> why do we check for ptr being null or not, when we deref ptr one line above? > >>> if (*ptr == '\n') ptr++; >>> - WCMD_output_asis_len(message, (ptr) ? ptr - message : >>> strlenW(mes

Re: cmd: Avoid mixing signed and unsigned type in conditional expression

2011-10-27 Thread Frédéric Delanoy
2011/10/27 Frédéric Delanoy : > On Thu, Oct 27, 2011 at 08:38, Eric Pouech wrote: >> why do we check for ptr being null or not, when we deref ptr one line above? > >>>       if (*ptr == '\n') ptr++; >>> -      WCMD_output_asis_len(message, (ptr) ? ptr - message : >>> strlenW(message), handle); >>>

Re: cmd: Avoid mixing signed and unsigned type in conditional expression

2011-10-27 Thread Frédéric Delanoy
On Thu, Oct 27, 2011 at 08:38, Eric Pouech wrote: > why do we check for ptr being null or not, when we deref ptr one line above? >>       if (*ptr == '\n') ptr++; >> -      WCMD_output_asis_len(message, (ptr) ? ptr - message : >> strlenW(message), handle); >> +      WCMD_output_asis_len(message,

Re: basic_ifstream implementation

2011-10-27 Thread Piotr Caban
On 10/27/11 2:01 AM, Josh Juran wrote: On Oct 26, 2011, at 11:59 AM, Josh Juran wrote: I'm ready to begin work on a basic_ifstream implementation for Wine, which is needed for the game Vampire Secrets among others. In order to implement it correctly lots of functions/classes needs to be imple