Subject: | Error when compiling with VS2010 |
Date: | Fri, 21 Feb 2014 19:38:53 +0000 |
To: | "bug-Devel-CallChecker [...] rt.cpan.org" <bug-Devel-CallChecker [...] rt.cpan.org> |
From: | Desmond Daignault <desmond.daignault [...] oneil.com> |
Tried compiling all versions from 0.2 forward, all give similar errors. What else can I provide to help debug this?
C:\third_party\build\sandbox\Devel-CallChecker-0.006>perl Build
Building Devel-CallChecker
Generating script 'lib\Devel\CallChecker.ccs'
cl -nologo -c @"lib\Devel\CallChecker.ccs" -Fo"lib\Devel\CallChecker.obj" "lib\Devel\CallChecker.c"
CallChecker.c
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2143: syntax error : missing ')' before 'if'
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
lib\\Devel\\CallChecker.xs(473) : error C2121: '#' : invalid character : possibly the result of a macro expansion
error building dll file from 'lib\Devel\CallChecker.c' at C:/third_party/build/win32/install/perl/site/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130.
results of perl -V
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
Platform:
osname=MSWin32, osvers=6.1, 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 -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO',
optimize='-O1 -MD -Zi -DNDEBUG',
cppflags='-DWIN32'
ccversion='16.00.40219.01', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
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 -opt:ref,icf -libpath:"C:\third_party\build\win32\install\perl\lib\CORE" -machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"'
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 comctl32.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 comctl32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl518.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\third_party\build\win32\install\perl\lib\CORE" -machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under MSWin32
Compiled at Feb 20 2014 14:33:57
@INC:
C:/third_party/build/win32/install/perl/site/lib
C:/third_party/build/win32/install/perl/lib
.
--
Sincerely,
Desmond Daignault
Senior Software Engineer
O'Neil & Associates, Inc.
**********************************************************************
Confidentiality Notice
The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited.
**********************************************************************