Boost C++ Libraries: Ticket #3041: [GIL] Patch for regression test failures in GCC 4.4 https://svn.boost.org/trac10/ticket/3041 <p> The GIL regression tests have a number of failures on GCC 4.4, bue to conflicts between gil::at_c and mpl::at_c. </p> <p> for example: </p> <p> <a class="ext-link" href="http://tinyurl.com/qag3e3"><span class="icon">​</span>http://tinyurl.com/qag3e3</a> </p> <p> <a class="ext-link" href="http://tinyurl.com/qdxwna"><span class="icon">​</span>http://tinyurl.com/qdxwna</a> </p> <p> The attached patch avoids these problems by qualifying some calls to at_c with gil::, and additionaly replaces the 'using namespace std' in pixel.cpp with 'using std::swap' in order to avoid an ambiguity with std::prev (as seen in the second link above). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3041 Trac 1.4.3 Richard Webb <richard.webb@…> Sat, 16 May 2009 15:20:40 GMT attachment set https://svn.boost.org/trac10/ticket/3041 https://svn.boost.org/trac10/ticket/3041 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">gil.patch</span> </li> </ul> Ticket tim@… Wed, 27 May 2009 09:15:10 GMT cc set https://svn.boost.org/trac10/ticket/3041#comment:1 https://svn.boost.org/trac10/ticket/3041#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">tim@…</span> added </li> </ul> Ticket Hailin Jin Mon, 06 Jul 2009 20:41:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3041#comment:2 https://svn.boost.org/trac10/ticket/3041#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in Revisions 54725 and 54726 </p> Ticket peter@… Tue, 17 Nov 2009 03:46:02 GMT attachment set https://svn.boost.org/trac10/ticket/3041 https://svn.boost.org/trac10/ticket/3041 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch.diff</span> </li> </ul> <p> Additional fixes. </p> Ticket peter@… Sun, 22 Nov 2009 18:36:04 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/3041#comment:3 https://svn.boost.org/trac10/ticket/3041#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> The original patch didn't fix the bug on my system; there were still compilation errors involving mpl. I modified two GIL files in a couple places to refer to gil::at_c rather than simply at_c, as the original patch had done elsewhere. With the modified files, GIL compiles on my system, and code using GIL (such as the GIL examples) works. I have not, however, applied any regression tests. </p> <p> I don't know why the patch here, which presumably worked for the author, did not fix the problem on my system. </p> Ticket Richard Webb <richard.webb@…> Mon, 23 Nov 2009 10:17:52 GMT <link>https://svn.boost.org/trac10/ticket/3041#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3041#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3041#comment:3" title="Comment 3">peter@…</a>: </p> <blockquote class="citation"> <p> I don't know why the patch here, which presumably worked for the author, did not fix the problem on my system. </p> </blockquote> <p> The patch i posted was purely to fix failures in the regression tests (i don't use GIL myself, so i didn't do further tests). </p> <p> There is also <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3619" title="#3619: Bugs: MPL error when using planar images in GCC 4.4 (closed: fixed)">#3619</a> about this same issue, though in that case the existing change already seems to have fixed the reporters problems. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chhenning</dc:creator> <pubDate>Wed, 06 Jan 2010 19:15:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3041#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3041#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/58777" title="Added gil:: namespace to all at_c calls. This seems necessary for ...">[58777]</a>) Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3041" title="#3041: Patches: [GIL] Patch for regression test failures in GCC 4.4 (closed: fixed)">#3041</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3619" title="#3619: Bugs: MPL error when using planar images in GCC 4.4 (closed: fixed)">#3619</a>. </p> </description> <category>Ticket</category> </item> <item> <author>chhenning@…</author> <pubDate>Wed, 06 Jan 2010 19:54:05 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3041#comment:6 https://svn.boost.org/trac10/ticket/3041#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I have tried to reproduce the problem with the current trunk ( 01/06/10 ) and release branch using MinGW 5.1.6 ( gcc 4.4 ). The problem could not be reproduced. </p> Ticket chhenning Mon, 11 Oct 2010 15:50:19 GMT <link>https://svn.boost.org/trac10/ticket/3041#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3041#comment:7</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/65907" title="Added gil:: namespace to all at_c calls. This seems necessary for ...">[65907]</a>) Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3041" title="#3041: Patches: [GIL] Patch for regression test failures in GCC 4.4 (closed: fixed)">#3041</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3619" title="#3619: Bugs: MPL error when using planar images in GCC 4.4 (closed: fixed)">#3619</a>. </p> </description> <category>Ticket</category> </item> </channel> </rss>