[ros-dev] GCC 4.4

Dmitry Gorbachev d.g.gorbachev at gmail.com
Tue Aug 25 11:18:39 CEST 2009


Hi!

> I'd be curious about how you solved these issues:
>
> error: deprecated conversion from string constant to 'CHAR*'

As it is not a real error, I turned it into a warning again with
"-Wno-error=write-strings" in ReactOS-generic.rbuild.

> And especially:
>
> modules\rostests\winetests\kernel32\thread.c:22:1: warning:
> "_WIN32_WINNT" redefined

GCC from RosBE also emits warnings like "_WIN32_IE" redefined, it does
not make impossible to use it.

> And also the linker errors regarding unwind functions in C++

Maybe your GCC is configured differently? What "gcc -v" says?

> and the lack of a libgcc?

How it can be?!

> How were you able to build ntoskrnl when the function to
> make the stack executable imports from VirtualProtect?

At first, patched GCC. But when Daniel said he failed to build GCC, I
replaced __enable_execute_stack() in libgcc instead. See bug #4810.

Cheers,
Dmitry



More information about the Ros-dev mailing list