Boost C++ Libraries: Ticket #2505: iostreams/test/grep_test.cpp assumes that ptrdiff_t is in the global namespace https://svn.boost.org/trac10/ticket/2505 <p> The patch adds std:: in front of ptrdiff_t. An alternative is to declare count as std::string::difference_type. Both solutions work on QNX 6.4.0. </p> <p> (According to the C++ standard, ptrdiff_t is in the std namespace (and possibly in the global namespace also).) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2505 Trac 1.4.3 Niklas Angare <li51ckf02@…> Mon, 17 Nov 2008 00:01:59 GMT attachment set https://svn.boost.org/trac10/ticket/2505 https://svn.boost.org/trac10/ticket/2505 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">grep_test.cpp.patch</span> </li> </ul> Ticket Marshall Clow Tue, 18 Nov 2008 00:57:03 GMT component changed; owner set https://svn.boost.org/trac10/ticket/2505#comment:1 https://svn.boost.org/trac10/ticket/2505#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jonathan Turkanis</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">iostreams</span> </li> </ul> Ticket Daniel James Fri, 12 Mar 2010 19:46:52 GMT owner, status changed https://svn.boost.org/trac10/ticket/2505#comment:2 https://svn.boost.org/trac10/ticket/2505#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Jonathan Turkanis</span> to <span class="trac-author">Daniel James</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket anonymous Sat, 13 Mar 2010 16:20:38 GMT milestone changed https://svn.boost.org/trac10/ticket/2505#comment:3 https://svn.boost.org/trac10/ticket/2505#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> </ul> Ticket Daniel James Sun, 14 Mar 2010 18:04:31 GMT <link>https://svn.boost.org/trac10/ticket/2505#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2505#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60582" title="ptrdiff_t is in std. Refs #2505.">[60582]</a>) ptrdiff_t is in std. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2505" title="#2505: Bugs: iostreams/test/grep_test.cpp assumes that ptrdiff_t is in the global ... (closed: fixed)">#2505</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Wed, 17 Mar 2010 00:23:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2505#comment:5 https://svn.boost.org/trac10/ticket/2505#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60666" title="Merge iostreams. - Fix write_device_impl&lt;ostream_tag&gt;. Fixes #3839 ...">[60666]</a>) Merge iostreams. </p> <ul><li>Fix write_device_impl&lt;ostream_tag&gt;. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3839" title="#3839: Bugs: [iostreams]write.hpp:write_device_impl&lt;ostream_tag&gt; tries access ... (closed: fixed)">#3839</a> </li><li>Fix error checks after calling <a class="missing wiki">SetFilePointer</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3953" title="#3953: Bugs: [boost][iostreams] mapped_file bug on Win32? (closed: fixed)">#3953</a> </li><li>Gzip filter shouldn't require its source to be peekable. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3723" title="#3723: Bugs: gzip_docompressor error - basic_array_source no putback member (closed: fixed)">#3723</a>. </li><li>In <code>position_to_offset</code>, only cast to <code>stream_offset</code> after calculating <code>_Myoff</code>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3969" title="#3969: Patches: position_to_offset() is broken for Microsoft Visual C++/Dinkumware (closed: fixed)">#3969</a>. </li><li>ptrdiff_t is in std. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2505" title="#2505: Bugs: iostreams/test/grep_test.cpp assumes that ptrdiff_t is in the global ... (closed: fixed)">#2505</a>. </li></ul> Ticket