[ros-dev] GCC 4.4

Daniel Reimer daniel.reimer at stud-mail.uni-wuerzburg.de
Tue Aug 25 16:22:19 CEST 2009


Dmitry Gorbachev wrote:
> 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
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
>    
D:\SVNTree\ReactOS>gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure 
--enable-languages=c,ada,c++,fortran,jav
a,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj 
--enabl
e-libgomp --with-dwarf2 --disable-win32-registry 
--enable-libstdcxx-debug --enab
le-version-specific-runtime-libs --prefix=/mingw 
--with-gmp=/mingw/src/gmp/root
--with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)



More information about the Ros-dev mailing list