<div dir="ltr">I've sent a patch to the mailing list that should fix this compile time warning.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Pradeep Ramachandran, PhD<div>Solution Architect,</div><div>Multicoreware Inc.</div><div>Ph:   +91 99627 82018</div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Sep 8, 2015 at 11:44 AM, Mario *LigH* Rohkrämer <span dir="ltr"><<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a compiler warning from GCC, not from the running x265.exe.<br>
<br>
My Win32 builds are flagged as XP compatible in addition, that's probably the reason to compile some legacy code instead of calling Vista+ OS functions...<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
Am 07.09.2015, 18:03 Uhr, schrieb Pradeep Ramachandran <<a href="mailto:pradeep@multicorewareinc.com" target="_blank">pradeep@multicorewareinc.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hmm... in both these functions, the nodeMask (or numaNodeMask) parameter<br>
isn't used if _WIN32_WINNT >= _WIN32_WINNT_WIN7 evaluates to false. What<br>
version of Windows are you running this on?<br>
<br>
I tried a 32-bit Windows build on Windows 8.1 and GCC 4.9.X and don't see<br>
any such warning.<br>
<br>
Pradeep Ramachandran, PhD<br>
Solution Architect,<br>
Multicoreware Inc.<br>
Ph:   +91 99627 82018<br>
<br>
On Mon, Sep 7, 2015 at 5:50 PM, Mario *LigH* Rohkrämer <<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a>><br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Win64 target has no warning; Win32 target compiles with GCC 4.9.2 or 5.2.0<br>
report:<br>
<br>
+----<br>
[ 60%] Building CXX object common/CMakeFiles/common.dir/threadpool.cpp.obj<br>
h:/MSYS-GCC492/home/Entwicklung/x265/source/common/threadpool.cpp:376:68:<br>
warning: unused parameter 'nodeMask' [-Wunused-parameter]<br>
 bool ThreadPool::create(int numThreads, int maxProviders, uint32_t<br>
nodeMask)<br>
                                                                    ^<br>
h:/MSYS-GCC492/home/Entwicklung/x265/source/common/threadpool.cpp:463:46:<br>
warning: unused parameter 'numaNodeMask' [-Wunused-parameter]<br>
 void ThreadPool::setThreadNodeAffinity(void *numaNodeMask)<br>
                                              ^<br>
+----<br>
<br>
--<br>
<br>
Fun and success!<br>
Mario *LigH* Rohkrämer<br>
mailto:<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a><br>
<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br>
</blockquote></blockquote>
<br>
<br>
-- <br>
<br>
Fun and success!<br>
Mario *LigH* Rohkrämer<br>
mailto:<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a><br>
<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</div></div></blockquote></div><br></div>