Wed Jan 06 08:14:52 2010: Request 53430 was acted upon.
Transaction: Ticket created by STRO
       Queue: Wx
     Subject: Cannot compile Wx using MSVC6
   Broken in: 0.76, 0.77, 0.78, 0.79, 0.80, 0.81, 0.82, 0.83, 0.84, 0.85, 0.86, 
0.87, 0.88, 0.89, 0.90, 0.91, 0.92, 0.93, 0.94, 0.95
    Severity: Critical
       Owner: Nobody
  Requestors: s...@railways.dp.ua
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=53430 >


Hello Mattia,

I'm encountering a problem compiling all versions of Wx starting from 0.76
using MSVC6 and Alien-wxWidgets 0.48 / wxWidgets 2.8.10. Error happens on this
stage of compiling:

cl -GF -TP /c /nologo /TP /MD /O2 /W4 /GR /EHsc -c -I. -I.
-IC:\bin\dev\perl\site\lib\Alien\wxWidgets\msw_2_8_10_uni_cl_0\lib
-IC:\bin\dev\perl\site\lib\Alien\wxWidgets\msw_2_8_10_uni_cl_0\include -nologo
-GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" "-IC:\bin\dev\perl\lib\CORE" -DWIN32
-D__WXMSW__ -D_UNICODE -DWXUSINGDLL -D_WINDOWS -DNOPCH
-D_CRT_SECURE_NO_DEPRECATE Controls.c
Command line warning D4025 : overriding '/W4' with '/W3'
Command line warning D4025 : overriding '/O2' with '/O1'
Controls.c
cpp/combopopup.h(90) : warning C4003: not enough actual parameters for macro
'DEF_V_CBACK_WXOBJECTsP__VOID_'
cpp/odcombo.h(50) : error C2562: 'OnDrawItem' : 'void' function returning a
value
cpp/odcombo.h(40) : see declaration of 'OnDrawItem'
cpp/odcombo.h(53) : error C2562: 'OnDrawBackground' : 'void' function returning
a value
cpp/odcombo.h(41) : see declaration of 'OnDrawBackground'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.



--
Serguei Trouchelle

Reply via email to