Thu Jan 07 15:59:09 2010: Request 53430 was acted upon.
Transaction: Correspondence added by mattia.bar...@libero.it
       Queue: Wx
     Subject: Re: [rt.cpan.org #53430] 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 >


Serguei Trouchelle via RT wrote:
> 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_'

   Could you try changing cpp/v_cback.h, around line 76, like this:

#define wxPli_NOCONST /* */
#define wxPli_CONST const
#define wxPli_VOID

if that fails to compile, try this:

#define wxPli_NOCONST HATE_MSVC6
#define wxPli_CONST const
#define wxPli_VOID
#define HATE_MSVC6 /* */

HTH,
Mattia

Reply via email to