List Info

Thread: ext/Win32/Win32.xs compilation fails on msvc < 6




ext/Win32/Win32.xs compilation fails on msvc < 6
user name
2007-09-17 16:48:05
# New Ticket Created by  dktetsuo.karasik.eu.org 
# Please include the string:  [perl #45493]
# in the subject line of all future correspondence about
this issue. 
# <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=45493 >



This is a bug report for perl from dktetsuo.karasik.eu.org,
generated with the help of perlbug 1.35 running under perl
v5.8.8.


------------------------------------------------------------
-----
[Please enter your report here]

A patch for smoke, fixes compilation on older msvc
versions:

--- /home/dk/src/perl-current/ext/Win32/Win32.xs       
2007-06-26 11:10:49.000000000 +0200
+++ ./Win32.xs  2007-09-17 10:49:43.000000000 +0200
 -43,6
+43,13 
 #   define CSIDL_FLAG_CREATE               0x8000
 #endif

+#ifndef CSIDL_COMMON_FAVORITES
+#   define CSIDL_COMMON_FAVORITES     0x001F
+#   define CSIDL_INTERNET_CACHE       0x0020
+#   define CSIDL_COOKIES              0x0021
+#   define CSIDL_HISTORY              0x0022
+#endif
+
 #ifndef CSIDL_ADMINTOOLS
 #   define CSIDL_ADMINTOOLS           0x0030
 #   define CSIDL_COMMON_ADMINTOOLS    0x002F



[Please do not change anything below this line]
------------------------------------------------------------
-----
---
Flags:
    category=core
    severity=low
---

Summary of my perl5 (revision 5 version 10 subversion 0
patchlevel 31876) configuration:
  Platform:
    osname=MSWin32, osvers=5.00,
archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
    use64bitint=undef, use64bitall=undef,
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cl', ccflags ='-nologo -GF -W3 -Od -MD -Zi -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT 
-DUTF8_FILENAME_SEMANTICS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
    optimize='-Od -MD -Zi',
    cppflags='-DWIN32'
    ccversion='11.00.7022', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define,
longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='__int64', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -debug 
-libpath:"c:usrlocalperlbleadlibCORE" 
-machine86'
    libpth=lib
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib  comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib  netapi32.lib uuid.lib ws2_32.lib
mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    perllibs=  oldnames.lib kernel32.lib user32.lib
gdi32.lib winspool.lib  comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib
ws2_32.lib mpr.lib winmm.lib  version.lib odbc32.lib
odbccp32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=true,
libperl=perl59.lib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef,
ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib
-debug 
-libpath:"c:usrlocalperlbleadlibCORE" 
-machine86'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC
USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO
  Locally applied patches:
	DEVEL
  Built under MSWin32
  Compiled at Sep 17 2007 23:37:43
  %ENV:
  INC:
    C:/home/src/perl-current/lib
    .


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )