<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/bmagic/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/bmagic/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/bmagic/bugs/</id><updated>2018-08-04T01:09:35.634000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#1 printf not found in newer gcc's</title><link href="https://sourceforge.net/p/bmagic/bugs/1/?limit=25#47dc" rel="alternate"/><published>2018-08-04T01:09:35.634000Z</published><updated>2018-08-04T01:09:35.634000Z</updated><author><name>Anatoliy Kuznetsov</name><uri>https://sourceforge.net/u/tlk00/</uri></author><id>https://sourceforge.net1674662c1d82dfebe3114c7377f0f3bf67b9c4b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#1 printf not found in newer gcc's</title><link href="https://sourceforge.net/p/bmagic/bugs/1/?limit=25#ee55" rel="alternate"/><published>2018-08-04T01:08:40.228000Z</published><updated>2018-08-04T01:08:40.228000Z</updated><author><name>Anatoliy Kuznetsov</name><uri>https://sourceforge.net/u/tlk00/</uri></author><id>https://sourceforge.netca0581f8f05f244f0b7c9654c27a636709b3826a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Anatoliy Kuznetsov&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0_(example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>undesirably assertion failure</title><link href="https://sourceforge.net/p/bmagic/bugs/2/" rel="alternate"/><published>2011-01-17T16:46:26Z</published><updated>2011-01-17T16:46:26Z</updated><author><name>David Koes</name><uri>https://sourceforge.net/u/dkoes/</uri></author><id>https://sourceforge.net30b9c4870c3f6b7ce6dbf2652ed2bb01858dd4d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;operator= doesn't overwrite the block manager values with those of the rhs potentially resulting in an unexpected &lt;br /&gt;
Assertion `top_blocks &amp;gt;= bvect_top_blocks'&lt;/p&gt;
&lt;p&gt;#include &amp;lt;bm/bm.h&amp;gt;&lt;/p&gt;
&lt;p&gt;typedef bm::bvector&amp;lt;bm::standard_allocator&amp;gt; bvect;&lt;/p&gt;
&lt;p&gt;int main()&lt;br /&gt;
{&lt;br /&gt;
bvect x;&lt;br /&gt;
bvect y(2048);&lt;br /&gt;
x = bvect(2048);&lt;br /&gt;
y &amp;amp;= x;&lt;br /&gt;
return 0;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>printf not found in newer gcc's</title><link href="https://sourceforge.net/p/bmagic/bugs/1/" rel="alternate"/><published>2009-10-04T23:51:49Z</published><updated>2009-10-04T23:51:49Z</updated><author><name>Evan Wies</name><uri>https://sourceforge.net/u/neomantra/</uri></author><id>https://sourceforge.net6494779f62e3bee0116933ba2b01f8b913513bde</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I started testing bitmagic on Ubuntu Karmic (I am one of the Debian package maintainers).   It appears that newer gcc's (Karmic has 4.4.1) no longer include printf anywhere in the nesting of headers that are included in bm.h.   It probably somehow was included via string.h before?&lt;/p&gt;
&lt;p&gt;The fix is simply to add #include &amp;lt;stdio.h&amp;gt; to the top of bm.h. &lt;/p&gt;
&lt;p&gt;Perhaps you could also use &amp;lt;cstring&amp;gt;, &amp;lt;cassert&amp;gt;, and &amp;lt;cstdio&amp;gt; rather than &amp;lt;string.h&amp;gt;, &amp;lt;assert.h&amp;gt; and &amp;lt;stdio.h&amp;gt; (not a big deal though).&lt;/p&gt;
&lt;p&gt;I did not explore too deeply -- this could be a Debian-specific bug, but you are using printf without including stdio.   We are going to fix this in the Debian/Karmic package, but it would be great to have it fixed upstream too.&lt;/p&gt;
&lt;p&gt;Thanks for a great library,&lt;br /&gt;
Evan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>printf not found in newer gcc's</title><link href="https://sourceforge.net/p/bmagic/bugs/1/" rel="alternate"/><published>2009-10-04T23:51:49Z</published><updated>2009-10-04T23:51:49Z</updated><author><name>Evan Wies</name><uri>https://sourceforge.net/u/neomantra/</uri></author><id>https://sourceforge.net9f80a787d530546977b753076e2470bdf1e0233d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 1 has been modified: printf not found in newer gcc's&lt;br/&gt;
Edited By: Anatoliy Kuznetsov (tlk00)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;br/&gt;
&lt;em&gt;milestone updated: '' =&amp;gt; u'v1.0&lt;/em&gt;(example)'&lt;br/&gt;
Owner updated: None =&amp;gt; u'tlk00'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>printf not found in newer gcc's</title><link href="https://sourceforge.net/p/bmagic/bugs/1/" rel="alternate"/><published>2009-10-04T23:51:49Z</published><updated>2009-10-04T23:51:49Z</updated><author><name>Evan Wies</name><uri>https://sourceforge.net/u/neomantra/</uri></author><id>https://sourceforge.net42b5c796a1ca83213b606b42be345d480d8824dc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 1 has been modified: printf not found in newer gcc's&lt;br/&gt;
Edited By: Anatoliy Kuznetsov (tlk00)&lt;br/&gt;
Status updated: u'accepted' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>