<div dir="ltr">Hello Brad,<div><br></div><div>Already in [1]</div><div><br></div><div><i style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.049999237060547px">(If your change modifies the "<code style="background-color:rgb(249,249,249)">Modules/ThirdParty/KWSys/src/KWSys</code>" directory please contribute directly to <a href="http://www.itk.org/Wiki/KWSys/Git" title="KWSys/Git" style="text-decoration:none;color:rgb(90,54,150);background:none">KWSys</a>instead.)</i><br>
</div><div><br></div><div>So should continue in itk gerrit or KWSys?. If ITK it should be in release branch or trunk (4.7). AFAICT, this happens to block build on MingW64 bit on windows</div><div><br></div><div><br></div>
<div>[1] <a href="http://www.itk.org/Wiki/ITK/Git/Develop">http://www.itk.org/Wiki/ITK/Git/Develop</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 2:49 PM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>Could you please submit your patch to gerrit for review:</div>
<div><br></div><div><a href="http://www.itk.org/Wiki/ITK/Git/Develop" target="_blank">http://www.itk.org/Wiki/ITK/Git/Develop</a></div><div><br></div><div>Thanks,</div><div>Brad</div><div><br></div><div><br></div><div><br>
<div><div><div class="h5"><div>On Jul 29, 2014, at 9:58 PM, Rashad M <<a href="mailto:mohammedrashadkm@gmail.com" target="_blank">mohammedrashadkm@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite">
<div>
<div class="h5"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Building ITK with MinGW64 comes clean but when using it in other library gives the below error. Turning -fpermissive can solve this bug but its not a option to be considered.</div>
<div><br></div><div>I had attached a patch which will resolve this issue. </div><div><br></div>[ 78%] Building CXX object Code/ApplicationEngine/CMakeFiles/OTBApplicationEngine.dir/otbWrapperApplicationRegistry.cxx.obj<div>
[ 79%] Building CXX object Code/ApplicationEngine/CMakeFiles/OTBApplicationEngine.dir/otbWrapperChoiceParameter.cxx.obj<br>Linking CXX shared library ../../bin/libOTBTesting.dll<br>[ 79%] Built target OTBTesting<br>[ 79%] Building CXX object Code/ApplicationEngine/CMakeFiles/OTBApplicationEngine.dir/otbWrapperInputImageListParameter.cxx.obj<br>
[ 79%] Building CXX object Code/ApplicationEngine/CMakeFiles/OTBApplicationEngine.dir/otbWrapperOutputImageParameter.cxx.obj<br>Scanning dependencies of target otbTestDriver<br>[ 79%] Building CXX object Code/Testing/CMakeFiles/otbTestDriver.dir/otbTestDriver.cxx.obj<br>
In file included from /.../OTB-Nightly/Code/Testing/otbTestDriver.cxx:35:0:<br>/home/rashad/packages/mxe/usr/x86_64-w64-mingw32.shared/include/ITK-4.6/itksys/SharedForward.h: In function 'void kwsys_shared_forward_execvp(const char*, const char* const*)':<br>
<br>/home/rashad/packages/mxe/usr/x86_64-w64-mingw32.shared/include/ITK-4.6/itksys/SharedForward.h:516:19: error: invalid conversion from 'const char* const*' to 'char* const*' [-fpermissive]<br><br> execvp(cmd, argv);<br>
^<br>In file included from /home/rashad/packages/mxe/usr/x86_64-w64-mingw32.shared/include/ITK-4.6/itksys/SharedForward.h:158:0,<br> from /.../OTB-Nightly/Code/Testing/otbTestDriver.cxx:35:</div>
<div><br></div><div><br></div><div>-- </div><div><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div>
</div></div>
</div></div><span><itk-3-execvp.patch></span>_______________________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/insight-developers" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br><a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
</blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div>
</div>