Re: [Mingw-w64-public] [PATCH] crt: Add schannel.def and security.def for lib32

2017-10-03 Thread JonY via Mingw-w64-public
On 10/03/2017 08:42 PM, Martin Storsjö wrote:
> On Mon, 2 Oct 2017, JonY via Mingw-w64-public wrote:
> 
>> Makefile.in changes should not in the same commit next time.
> 
> Oh, you prefer that style? So far I've sent patches without the
> autogenerated changes, but squashed them into the same commit when
> pushing. I can keep the autogenerated Makefile.in changes in a separate
> commit from now on if you prefer that style though.
> 
> // Martin
> 

Yeah, it has less risk of conflicts when cherry-picked.


signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] crt: Add schannel.def and security.def for lib32

2017-10-03 Thread Martin Storsjö

On Mon, 2 Oct 2017, JonY via Mingw-w64-public wrote:


Makefile.in changes should not in the same commit next time.


Oh, you prefer that style? So far I've sent patches without the 
autogenerated changes, but squashed them into the same commit when 
pushing. I can keep the autogenerated Makefile.in changes in a separate 
commit from now on if you prefer that style though.


// Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Devpkey.h

2017-10-03 Thread David Grayson
Oftentimes there are things missing from the mingw-w64 headers and
what you can do is make a patch that fixes it and submit the patch on
this mailing list (see the archives for examples).  Usually it's not
an intellectual property issue.

--David

On Tue, Oct 3, 2017 at 1:04 PM, John Warburton  wrote:
> Good evening,
>
> Today, in the usual daily compilation of a number of multimedia
> utilities, I tried to compile the latest GitHub edition of
> OpenCL-ICD-Loader, which is to be found here:
>
> https://github.com/KhronosGroup/OpenCL-ICD-Loader
>
> Unfortunately, a commit made today to that project seemed to require a
> rather fuller version of Devpkey.h (devpkey.h) than exists in the
> mingw-w64 project.
>
> In particular, a number of missing definitions were picked up, including:
>
> DEVPKEY_Device_ClassGuid
>
> ...which does appear in the ReactOS version of Devpkey.h
>
> I am very new to this, and wondered if there is way around this
> problem? Or is there an intellectual property issue that is currently
> unrespolved? Either way, my compilation is fixed by reverting to the
> OpenCL-ICD-Loader tree before today's commit.
>
> Here is the original error message. Thank you for looking at this!
> JW
>
> [ 38%] Building C object
> test/driver_stub/CMakeFiles/OpenCLDriverStub.dir/icd.c.obj
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows.c:
> In function 'khrIcdOsVendorsEnumerateOnce':
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows.c:135:5:
> warning: implicit declaration of function 'InitOnceExecuteOnce'
> [-Wimplicit-function-declaration]
>  InitOnceExecuteOnce(&initialized, khrIcdOsVendorsEnumerate, NULL, NULL);
>  ^~~
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:
> In function 'khrIcdOsVendorsEnumerateHKR':
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:212:21:
> error: 'CM_GETIDLIST_FILTER_CLASS' undeclared (first use in this
> function); did you mean 'CM_GETIDLIST_FILTER_BITS'?
>  ULONG ulFlags = CM_GETIDLIST_FILTER_CLASS |
>  ^
>  CM_GETIDLIST_FILTER_BITS
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:212:21:
> note: each undeclared identifier is reported only once for each
> function it appears in
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:213:21:
> error: 'CM_GETIDLIST_FILTER_PRESENT' undeclared (first use in this
> function); did you mean 'CM_GETIDLIST_FILTER_CLASS'?
>  CM_GETIDLIST_FILTER_PRESENT;
>  ^~~
>  CM_GETIDLIST_FILTER_CLASS
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:273:9:
> error: unknown type name 'DEVPROPTYPE'; did you mean 'EPROTOTYPE'?
>  DEVPROPTYPE devpropType;
>  ^~~
>  EPROTOTYPE
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:336:23:
> warning: implicit declaration of function 'CM_Get_DevNode_Property
> '; did you mean 'CM_Set_DevNode_Problem'? [-Wimplicit-function-declaration]
>  ret = CM_Get_DevNode_PropertyW(
>^~~~
>CM_Set_DevNode_Problem
> [ 42%] Linking C shared library ../../bin/libOpenCLDriverStub.dll
> /root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:338:22:
> error: 'DEVPKEY_Device_ClassGuid' undeclared (first use in this
> function)
>  &DEVPKEY_Device_ClassGuid,
>   ^~~~
> CMakeFiles/OpenCL.dir/build.make:138: recipe for target
> 'CMakeFiles/OpenCL.dir/icd_windows_hkr.c.obj' failed
> make[2]: *** [CMakeFiles/OpenCL.dir/icd_windows_hkr.c.obj] Error 1
> make[2]: *** Waiting for unfinished jobs
> [ 42%] Built target OpenCLDriverStub
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OpenCL.dir/all' failed
> make[1]: *** [CMakeFiles/OpenCL.dir/all] Error 2
> Makefile:94: recipe for target 'all' failed
> make: *** [all] Error 2
> Build failure. Please see error messages above.
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-publi

[Mingw-w64-public] Devpkey.h

2017-10-03 Thread John Warburton
Good evening,

Today, in the usual daily compilation of a number of multimedia
utilities, I tried to compile the latest GitHub edition of
OpenCL-ICD-Loader, which is to be found here:

https://github.com/KhronosGroup/OpenCL-ICD-Loader

Unfortunately, a commit made today to that project seemed to require a
rather fuller version of Devpkey.h (devpkey.h) than exists in the
mingw-w64 project.

In particular, a number of missing definitions were picked up, including:

DEVPKEY_Device_ClassGuid

...which does appear in the ReactOS version of Devpkey.h

I am very new to this, and wondered if there is way around this
problem? Or is there an intellectual property issue that is currently
unrespolved? Either way, my compilation is fixed by reverting to the
OpenCL-ICD-Loader tree before today's commit.

Here is the original error message. Thank you for looking at this!
JW

[ 38%] Building C object
test/driver_stub/CMakeFiles/OpenCLDriverStub.dir/icd.c.obj
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows.c:
In function 'khrIcdOsVendorsEnumerateOnce':
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows.c:135:5:
warning: implicit declaration of function 'InitOnceExecuteOnce'
[-Wimplicit-function-declaration]
 InitOnceExecuteOnce(&initialized, khrIcdOsVendorsEnumerate, NULL, NULL);
 ^~~
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:
In function 'khrIcdOsVendorsEnumerateHKR':
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:212:21:
error: 'CM_GETIDLIST_FILTER_CLASS' undeclared (first use in this
function); did you mean 'CM_GETIDLIST_FILTER_BITS'?
 ULONG ulFlags = CM_GETIDLIST_FILTER_CLASS |
 ^
 CM_GETIDLIST_FILTER_BITS
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:212:21:
note: each undeclared identifier is reported only once for each
function it appears in
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:213:21:
error: 'CM_GETIDLIST_FILTER_PRESENT' undeclared (first use in this
function); did you mean 'CM_GETIDLIST_FILTER_CLASS'?
 CM_GETIDLIST_FILTER_PRESENT;
 ^~~
 CM_GETIDLIST_FILTER_CLASS
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:273:9:
error: unknown type name 'DEVPROPTYPE'; did you mean 'EPROTOTYPE'?
 DEVPROPTYPE devpropType;
 ^~~
 EPROTOTYPE
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:336:23:
warning: implicit declaration of function 'CM_Get_DevNode_Property
'; did you mean 'CM_Set_DevNode_Problem'? [-Wimplicit-function-declaration]
 ret = CM_Get_DevNode_PropertyW(
   ^~~~
   CM_Set_DevNode_Problem
[ 42%] Linking C shared library ../../bin/libOpenCLDriverStub.dll
/root/src/MultimediaTools-mingw-w64/sandbox/x86_64/OpenCL-ICD-Loader/icd_windows_hkr.c:338:22:
error: 'DEVPKEY_Device_ClassGuid' undeclared (first use in this
function)
 &DEVPKEY_Device_ClassGuid,
  ^~~~
CMakeFiles/OpenCL.dir/build.make:138: recipe for target
'CMakeFiles/OpenCL.dir/icd_windows_hkr.c.obj' failed
make[2]: *** [CMakeFiles/OpenCL.dir/icd_windows_hkr.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs
[ 42%] Built target OpenCLDriverStub
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OpenCL.dir/all' failed
make[1]: *** [CMakeFiles/OpenCL.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
Build failure. Please see error messages above.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] crt: Add schannel.def and security.def for lib32

2017-10-03 Thread Shinchiro Shinchiro
Ah, I see, Thanks
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public