I tried all the options but still I am getting errors:
/usr/local/bin/perl.exe -I/usr/local/lib/perl5/5.20.2/cygwin-thread-mu
+lti-64int -I/usr/local/lib/perl5/5.20.2 /usr/local/lib/perl5/5.20.2/E
+xtUtils/xsubpp -typemap /usr/local/lib/perl5/5.20.2/ExtUtils/typemap
+ OLE.xs >xstmp.c && mv xstmp.c OLE.cpp
g++ -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fwrapv -fno-strict-
+aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.1
+712\" -DXS_VERSION=\"0.1712\" "-I/usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE" OLE.cpp
In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-
+64int/CORE/perl.h:2368:0,
from OLE.xs:94:
OLE.xs: In function ‘BOOL StartsWithAlpha(PerlInterpreter*, SV*)’:
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:142
+9:43: note: in definition of macro ‘_generic_swash_uni’
#define _generic_swash_uni(classnum, c) ((c) < 256
+ \
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:142
+9:43: note: in definition of macro ‘_generic_swash_uni’
#define _generic_swash_uni(classnum, c) ((c) < 256
+ \
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-
+64int/CORE/perl.h:2368:0,
from OLE.xs:94:
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124
+:24: note: in definition of macro ‘cBOOL’
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102
+4:45: note: in expansion of macro ‘FITS_IN_8_BITS’
# define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+0:48: note: in expansion of macro ‘_generic_isCC’
? _generic_isCC(c, class
+num) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124
+:24: note: in definition of macro ‘cBOOL’
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102
+4:45: note: in expansion of macro ‘FITS_IN_8_BITS’
# define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+0:48: note: in expansion of macro ‘_generic_isCC’
? _generic_isCC(c, class
+num) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124
+:24: note: in definition of macro ‘cBOOL’
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102
+4:45: note: in expansion of macro ‘FITS_IN_8_BITS’
# define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+0:48: note: in expansion of macro ‘_generic_isCC’
? _generic_isCC(c, class
+num) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124
+:24: note: in definition of macro ‘cBOOL’
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102
+4:45: note: in expansion of macro ‘FITS_IN_8_BITS’
# define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+0:48: note: in expansion of macro ‘_generic_isCC’
? _generic_isCC(c, class
+num) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124
+:24: note: in definition of macro ‘cBOOL’
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+0:48: note: in expansion of macro ‘_generic_isCC’
? _generic_isCC(c, class
+num) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124
+:24: note: in definition of macro ‘cBOOL’
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+0:48: note: in expansion of macro ‘_generic_isCC’
? _generic_isCC(c, class
+num) \
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-
+64int/CORE/perl.h:5100:0,
from OLE.xs:94:
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:30:
+51: note: in definition of macro ‘_is_uni_FOO’
#define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695
+:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR
+LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin-
+thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations]
#define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:30:
+51: note: in definition of macro ‘_is_uni_FOO’
#define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b)
^
/usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143
+2:29: note: in expansion of macro ‘_generic_swash_uni’
#define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c)
^
OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’
# define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL)
^
OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’
return isALPHA_uni(my_utf8_to_uv((U8*)str));
^
OLE.xs: In function ‘BOOL IsLocalMachine(PerlInterpreter*, SV*)’:
OLE.xs:483:43: error: ‘stricmp’ was not declared in this scope
&& stricmp(pszName, szComputerName) == 0)
^
Makefile:373: recipe for target 'OLE.o' failed
make: *** [OLE.o] Error 1
JDB/Win32-OLE-0.1712.tar.gz
/usr/bin/make -- NOT OK
|