Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #100024

Re: altering winbase.h

From Michael Holiday <Mike@example.invalid>
Newsgroups comp.lang.c
Subject Re: altering winbase.h
Date 2016-12-22 02:31 -0800
Message-ID <ec1ockFf411U1@mid.individual.net> (permalink)
References <ec1853Fbd58U1@mid.individual.net> <ec1aqfFbv20U1@mid.individual.net>

Show all headers | View raw


On 12/21/2016 10:40 PM, Michael Holiday wrote:

> C:\Users\Fred\Documents\Win32-LongPath-master\Win32-LongPath-master>dmake install
>
> cp lib/Win32/LongPath.pm blib\lib\Win32\LongPath.pm
> "C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e
> cp_nonempty -- LongPath.bs blib\arch\auto\Win32\LongPath\LongPath.bs 644
> gcc -c  "-I." "-I."     -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE
> -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
> -fwrapv -fno-strict-aliasing -mms-bitfields -Wall -W -Wno-comment -s -O2
>       -DVERSION=\"1.07\"    -DXS_VERSION=\"1.07\" -o xs\LongPath.o
> "-IC:\STRAWB~1\perl\lib\CORE"  -DUSE_PPPORT -DWINVER=0x0a00
> -D_WIN32_WINNT=0x0a00 xs\LongPath.c
> In file included from C:/STRAWB~1/perl/lib/CORE/hv.h:631,
>                  from C:/STRAWB~1/perl/lib/CORE/perl.h:3904,
>                  from xs\\LongPath.xs:21:
> C:/STRAWB~1/perl/lib/CORE/hv_func.h: In function `S_perl_hash_murmur3':
> C:/STRAWB~1/perl/lib/CORE/hv_func.h:403: warning: cast from pointer to
> integer of different size
> xs\\LongPath.xs: In function `MakeSymbolicLink':
> xs\\LongPath.xs:79: warning: implicit declaration of function
> `CreateSymbolicLinkW'
> xs\\LongPath.xs:80: error: `SYMBOLIC_LINK_FLAG_DIRECTORY' undeclared
> (first use in this function)
> xs\\LongPath.xs:80: error: (Each undeclared identifier is reported only
> once
> xs\\LongPath.xs:80: error: for each function it appears in.)
> xs\\LongPath.xs: In function `XS_Win32__LongPath_find_close':
> xs\\LongPath.xs:179: warning: cast to pointer from integer of different
> size
> xs\\LongPath.xs: In function `XS_Win32__LongPath_find_first_file':
> xs\\LongPath.xs:191: warning: cast from pointer to integer of different
> size
> xs\\LongPath.xs: In function `XS_Win32__LongPath_find_next_file':
> xs\\LongPath.xs:281: warning: cast to pointer from integer of different
> size
> dmake.exe:  Error code 129, while making 'xs\LongPath.o'
>

This started out as a perl question, but is ready to die of neglect at 
the bottom of a thread. It is, essentially OT there now that it's taken 
quite the C turn:

http://www.perlmonks.org/?node_id=1178277

I was advised to define SYMBOLIC_LINK_FLAG_DIRECTORY . I ran the result 
with the same litany of errors then defined it to be 1 with the same 
result. What I seek is the command to reveal what is defined before 
compilation on the gcc implementation used by contemporary perl.
--

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

altering winbase.h Michael Holiday <Mike@example.invalid> - 2016-12-21 21:54 -0800
  Re: altering winbase.h Michael Holiday <Mike@example.invalid> - 2016-12-21 22:40 -0800
    Re: altering winbase.h jacobnavia <jacob@jacob.remcomp.fr> - 2016-12-22 09:24 +0100
      Re: altering winbase.h Michael Holiday <Mike@example.invalid> - 2016-12-22 02:37 -0800
        Re: altering winbase.h jacobnavia <jacob@jacob.remcomp.fr> - 2016-12-22 18:12 +0100
    Re: altering winbase.h Michael Holiday <Mike@example.invalid> - 2016-12-22 02:31 -0800
      Re: altering winbase.h jacobnavia <jacob@jacob.remcomp.fr> - 2016-12-22 18:17 +0100
        Re: altering winbase.h Michael Holiday <Mike@example.invalid> - 2016-12-25 01:29 -0800
          Re: altering winbase.h jacobnavia <jacob@jacob.remcomp.fr> - 2016-12-25 11:58 +0100
            C tools for perl Michael Holiday <Mike@example.invalid> - 2017-01-26 23:30 -0800
        Re: altering winbase.h Keith Thompson <kst-u@mib.org> - 2016-12-25 12:17 -0800
          Re: altering winbase.h jacobnavia <jacob@jacob.remcomp.fr> - 2016-12-25 22:46 +0100
            Re: altering winbase.h Keith Thompson <kst-u@mib.org> - 2016-12-25 15:17 -0800

csiph-web