[ros-kernel] Compiling Error

Mike Greubel mike.greubel at pro-entertain.de
Sun Jul 18 19:28:36 CEST 2004


Well,

I got this error, too. The function RosRtlDevModeW2A exists in
lib/rosrtl/misc/devmode.c, but not declared in include/rosrtl/devmode.h.

Thomas said, that these functions are not in the proper place, they should
be in user32. I fixed it by adding this line in include/rosrtl/devmode.h at
line 11

void
RosRtlDevModeW2A( LPDEVMODEA pA, const LPDEVMODEW pW );


Regards
Mike




----- Original Message ----- 
From: "James Tabor" <jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net>
To: "ReactOS Kernel List" <ros-kernel at reactos.com>
Sent: Sunday, July 18, 2004 5:49 PM
Subject: [ros-kernel] Compiling Error


> Hi!
> I made clean twice, still getting this,
>
>
i386-mingw32-gcc -I./include -DUNICODE -D__REACTOS__ -D__USE_W32API -DWINVER
=0x0600
> -D_WIN32_WINNT=0x0501 -Wall -Werror -fno-builtin -D_DISABLE_TIDENTS -I. -I
../../include
> -I../../w32api/include -pipe -march=i386 -D_M_IX86 -c misc/display.c -o
misc/display.o
> misc/display.c: In function `EnumDisplaySettingsExA':
> misc/display.c:145: warning: implicit declaration of function
`RosRtlDevModeW2A'
> make[1]: *** [misc/display.o] Error 1
> make[1]: Leaving directory `/scsi/ros/reactos/lib/user32'
> make: *** [user32] Error 2
>
> Thanks,
> James
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.com/mailman/listinfo/ros-kernel
>



More information about the Ros-kernel mailing list