<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 5.1.12 released!</title>
		<link>http://www.allegro.cc/forums/view/615781</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 23 Nov 2015 05:01:01 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Once again, I present to you the newest release of the WIP branch of Allegro. This time there were a lot more new features added than during the previous release, because, as everybody knows, it&#39;s much more fun to add new bugs rather than fix old ones. Just kidding, we fixed plenty of old bugs too <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />. Some of the features are pretty nifty, such as the clipboard support.</p><p>We had quite a few new contributors this time around, and in fact most of the changed lines of code were not even done by the old team! That&#39;s pretty exciting.</p><p>Download the sources <a href="http://download.gna.org/allegro/allegro-unstable/5.1.12/">here</a>.</p><p>Download the Windows dependencies <a href="http://download.gna.org/allegro/allegro-deps/1.2.0/">here</a>.</p><p>Download the Windows binaries <a href="http://download.gna.org/allegro/allegro-unstable-bin/5.1.12/">here</a>.</p><p>Once again, I changed the format of the MSVC binaries. Now <i>all</i> of the dependencies are statically linked, including the MSVC runtime. The only exception are the debug builds of Allegro, which link the dynamic runtime still. Hopefully this works well for everybody. The motivation for that was that people probably don&#39;t care what Allegro does under the hood, so we shouldn&#39;t burden people by making these dependencies explicit. Another new thing is that we now have MSVC 2015 binaries.</p><p>MinGW and Ubuntu binaries are not yet ready and will be made in the coming days. </p><p>EDIT: Homebrew is also now available.</p><p>Enjoy!</p><h1>Changes from 5.1.11 to 5.1.12 (September 2015)</h1><p>

The main developers this time were: Bruce Pascoe, Beoran, Elias Pschernig, SiegeLord, Trent Gamblin.</p><h2>Graphics</h2><p>

</p><ul><li><p> Add <span class="source-code">al_set_blend_color</span> and <span class="source-code"><a href="http://www.allegro.cc/manual/al_set_blender"><span class="a">al_set_blender</span></a></span>, for additional blending modes.</p><br /></li><li><p> Add <span class="source-code">ALLEGRO_MAXIMIZED</span> display flag.</p><br /></li><li><p> Add <span class="source-code">al_reparent_bitmap</span>, <span class="source-code">al_get_bitmap_x<span class="k3">/</span>y</span>. This allows changing the offset of a sub-bitmap.</p><br /></li><li><p> Make <span class="source-code">ALLEGRO_PIXEL_FORMAT_ANY_NO_ALPHA</span> actually pick a format without an alpha channel.</p><br /></li><li><p> Add <span class="source-code">al_premul_rgba</span> and <span class="source-code">al_premul_rgba_f</span> convenience functions for dealing with pre-multiplied alpha blending mode.</p></li></ul><h2>Input</h2><p>

</p><ul><li><p> Fix key auto-repeat on modern X11 versions.</p><br /></li><li><p> Fix mis-detection of some joysticks on Android.</p></li></ul><h2>Android port</h2><p>

</p><ul><li><p> Fix a crash when minimizing the app before Allegro has been initialized.</p></li></ul><h2>Linux port</h2><p>

</p><ul><li><p> Add <span class="source-code">al_get_x_window_id</span> (Robert MacGregor)</p></li></ul><h2>OSX port</h2><p>

</p><ul><li><p> Fix some deprecated API usage.</p></li></ul><h2>Windows port</h2><p>

</p><ul><li><p> Fix a dangling pointer issue resulting in crashes when resizing on Windows 10.</p></li></ul><h2>Build system</h2><p>

</p><ul><li><p> Build with multiple processors when using MSVC.</p><br /></li><li><p> Make XInput2/touch input optional on Linux.</p></li></ul><h2>Documentation</h2><p>

</p><ul><li><p> Various documentation improvements.</p><br /></li><li><p> Fix some badly formatted flags (Rodolfo Lam).</p></li></ul><h2>Other</h2><p>

</p><ul><li><p> Allow injecting Allegro events into event queses using <span class="source-code"><a href="http://www.allegro.cc/manual/al_emit_user_event"><span class="a">al_emit_user_event</span></a></span> (Ryan Roden-Corrent)</p><br /></li><li><p> Add <span class="source-code">al_set_new_window_title</span> and <span class="source-code">al_get_new_window_title</span>.</p><br /></li><li><p> Add <span class="source-code">al_get_clipboard_text</span>, <span class="source-code">al_set_clipboard_text</span> and <span class="source-code">al_clipboard_has_text</span>.</p><br /></li><li><p> Add <span class="source-code">al_resume_timer</span> (Ryan Roden-Corrent).</p><br /></li><li><p> Add <span class="source-code">al_get_cpu_count</span> and <span class="source-code">al_get_ram_size</span>.</p></li></ul><h2>Audio addon</h2><p>

</p><ul><li><p> Add multiple voice support for the AQueue driver.</p><br /></li><li><p> Fix a bug when <span class="source-code"><a href="http://www.allegro.cc/manual/al_restore_default_mixer"><span class="a">al_restore_default_mixer</span></a></span> was called multiple times.</p></li></ul><h2>Font addon</h2><p>

</p><ul><li><p> Add <span class="source-code">al_draw_glyph</span>, <span class="source-code">al_get_glyph_width</span>, <span class="source-code">al_get_glyph_dimensions</span> and <span class="source-code">al_get_glyph_advance</span>. These functions are useful when additional control is needed when drawing text.</p><br /></li><li><p> Add <span class="source-code">al_set_fallback_font</span>.</p></li></ul><h2>Image addon</h2><p>

</p><ul><li><p> Add <span class="source-code">al_register_bitmap_identifier</span>, <span class="source-code">al_identify_bitmap</span> and <span class="source-code">al_identify_bitmap_f</span>. This allows detecting the bitmap type by looking at the initial few bytes in the file rather than relying solely on the extension.</p><br /></li><li><p> Allow saving bitmaps with uppercase extensions (Daniel).</p></li></ul><h2>Native dialog addon</h2><p>

</p><ul><li><p> Fix crashes when creating menus with sub-menus (Todd Cope).</p></li></ul><h2>Video addon</h2><p>

</p><ul><li><p> Allow using both Ffmpeg and Theora backends simultaneously.</p><br /></li><li><p> Reduce latency of <span class="source-code">al_get_video_frame</span> for the Theora backend.</p><br /></li><li><p> Make the Theora backend send the <span class="source-code">ALLEGRO_VIDEO_FRAME_SHOW</span> events.</p><br /></li><li><p> Rename <span class="source-code">al_get_video_width<span class="k3">/</span>height</span> to <span class="source-code">al_get_video_scaled_width<span class="k3">/</span>height</span> which now return the aspect corrected size of the video frame.</p><br /></li><li><p> Rename <span class="source-code">al_pause_video<span class="k3">/</span>al_is_video_paused</span> to <span class="source-code">al_get<span class="k3">/</span>set_video_playing</span>.</p><br /></li><li><p> Add <span class="source-code">ALLEGRO_EVENT_VIDEO_FINISHED</span> event.</p><br /></li><li><p> Remove <span class="source-code">ALLEGRO_EVENT_VIDEO_FRAME_ALLOC</span> event.</p><br /></li><li><p> Remove <span class="source-code">al_get_video_aspect_ratio</span>.</p></li></ul><h2>Examples</h2><p>

</p><ul><li><p> New examples: ex_reparent, ex_inject_events, ex_clipboard, ex_cpu, ex_timer_pause.</p></li></ul><pre class="terminal scroll">SHA256SUMS

3b66fbce9ae86f17b589eecea4406fd1d291dfa4e766a7a8cff1e0f0aba265d9  allegro-5.1.12.7z
78d1056d6cc0e4527ef35646f612a80456442a7866445ca7cf61a11bd64e79c0  allegro-5.1.12.tar.gz
0922bcf44b755a905ab60a0301377f4a0c352cfc10041c3972e20c4714a55fa8  allegro-5.1.12.zip
e09b5cf2172ead8fee77aad06636abdb1bc6411225a8e9d4a937a174646b7f48  allegro_deps-msvc2013-x64-1.2.0.zip
49fff173228f93b2cc00e1f5c00cdb7ce783a7290ce3c7d23d24c17c46c238df  allegro_deps-msvc2013-x86-1.2.0.zip
a3cdbe5ce773bc220cd11d2d878e653cd338b60c4d8f8ca762cf79949d92a127  allegro_deps-msvc2015-x64-1.2.0.zip
01d38b807dd0549e8d29ea75354e817a34b57adfb7b5b420b4b7d71a8ac873d3  allegro_deps-msvc2015-x86-1.2.0.zip
8492fd417dc8f6918538d0e139a87110397244ddbac8ab7cf238f3d88af60114  allegro-msvc2013-x64-5.1.12.zip
ef6a505f8aac954c547071b544b8081f56d3a5784eca7c97818274f451e88a1d  allegro-msvc2013-x86-5.1.12.zip
bf4a4d897eca4b4f2d354c929cb1d6546e473f6274cf0c68c4bbc684aac9f584  allegro-msvc2015-x64-5.1.12.zip
be255d45b2dc1909ad40fa442bab6fbc4472a76c79e7513efe1c9a404754d435  allegro-msvc2015-x86-5.1.12.zip</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 30 Sep 2015 10:55:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m super excited.  This one has gotten a lot of action, and is the first version collaborated on github if I&#39;m correct. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I&#39;ve really been looking forward to this one:</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615781/1016896#target">SiegeLord</a> said:</div><div class="quote"><p>Allow injecting Allegro events into event queses using al_emit_user_event (Ryan Roden-Corrent)</p></div></div><p>

Of course, these are super neat and will make it into my code:</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Add al_get_clipboard_text, al_set_clipboard_text and al_clipboard_has_text.</p></div></div><p>

Not something I would think I&#39;d ever use, but I&#39;m glad the pre-multiplied variants have made it in.</p><p>Also these will probably replace my existing equivalents:
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> Add al_draw_glyph, al_get_glyph_width, al_get_glyph_dimensions and al_get_glyph_advance. These functions are useful when additional control is needed when drawing text.</p></div></div><p>Oh no! The manual <a href="http://liballeg.org/a5docs/trunk/font.html#al_draw_glyph">is missing some of the new function signatures</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Wed, 30 Sep 2015 12:50:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks for the awesome work everyone! I&#39;m gonna try it out soon.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc ( Arvidsson)</author>
		<pubDate>Wed, 30 Sep 2015 14:03:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615781/1016897#target">Mark Oates</a> said:</div><div class="quote"><p>Oh no! The manual is missing some of the new function signatures [liballeg.org]. </p></div></div><p>

Works now <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Wed, 30 Sep 2015 19:19:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Kudos to you all (and Kang thinks this is a pretty nice release too.) <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Yodhe23)</author>
		<pubDate>Wed, 30 Sep 2015 22:14:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>On Windows, al_get_cpu_count seems to return the number of logical processors, as opposed to the number of physical cores. Is it the same on other platforms? Should this be documented?</p><p>I think it&#39;s ok for it to work this way, it&#39;s the same as Java&#39;s Runtime.availableProcessors() method.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Thu, 01 Oct 2015 00:21:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think it&#39;s pretty normal to just report number of logical processors. It&#39;s fairly safe to assume you can use all logical processors as if they are physical cores unless you are doing some super duper heavy calculations that HT would only make slower. Games though tend to do enough waiting that HT will only accelerate work loads.</p><p>It might make sense to add a &quot;al_get_physical_cpu_count&quot; or something equivalent, in case you really care.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Thu, 01 Oct 2015 12:21:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Awesome! I&#39;ll give it a try.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Thu, 01 Oct 2015 13:09:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Bumping the thread so I can edit it when I finally get around to making more binaries so I can edit the OP  &gt;_&lt;.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 07 Oct 2015 20:20:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thread locks too soon!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Thu, 08 Oct 2015 13:47:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615781/1017084#target">amarillion</a> said:</div><div class="quote"><p>Thread locks too soon! </p></div></div><p>
ISWYDT <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jmasterx)</author>
		<pubDate>Thu, 08 Oct 2015 16:15:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>How do I get the library, the demos, and the examples all to build statically without depending on the C or C++ std libraries? I&#39;ve tried several different flags, trying these first in cmake-gui :<br />CMAKE_EXE_LINKER_FLAGS -static-libgcc -static-libstdc++<br />CMAKE_MODULE_LINKER_FLAGS -static-libgcc -static-libstdc++</p><p>With these flags set, it builds the static library, and then fails to build the cosmic protector demo, which is C++. It fails because of redefinition errors in std::string and __gxx_personality_v0 due to relinking the std library somehow.</p><p>This is MinGW 4.8.1 on Vista. The CMake options are :<br />CMAKE_C_FLAGS<br />CMAKE_CXX_FLAGS<br />CMAKE_EXE_LINKER_FLAGS<br />CMAKE_MODULE_LINKER_FLAGS</p><p>So what should I be using?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 11 Oct 2015 01:59:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Libraries should not be statically linked against any other libraries that are going to be used from other code. Otherwise you get symbols being redefined in multiple object files.</p><p>A static allegro library should not link to anything. (imo)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sun, 11 Oct 2015 02:44:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If I compile with no flags present for any of the aforementioned cmake variables then the examples all depend on lib_gcc_sw-2.dll or whatever and libstdc++-6.dll. I want them to be static linked to the CRTs as well.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 11 Oct 2015 05:12:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You don&#39;t link the libraries against any lib at all. GCC won&#39;t do it either unless you force it. It&#39;ll leave the symbols as undefined. When you go to link your actual program, you tell it to link to everything statically.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sun, 11 Oct 2015 05:26:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks for the work, everyone!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Linley Henzell)</author>
		<pubDate>Sun, 11 Oct 2015 18:11:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well done guys !!</p><p>I&#39;ll take my testing tour soon :-D
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Sun, 11 Oct 2015 19:33:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can use -static instead. It&#39;s usually a bad idea to use that in Linux, but I find my mingw .exes created with it work fine and don&#39;t depend on any DLLs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Sun, 11 Oct 2015 19:51:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The font add-on got some really nice additions this time around.  Thank you to all involved!  <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Wed, 14 Oct 2015 08:47:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Congratulations on the release!</p><p>Now SiegeLord, just to confirm, the change you made to the way allegro is built means that we no longer have to download the allegro-deps folder from <a href="http://download.gna.org/allegro/allegro-deps/1.2.0/">Gna!</a> anymore? Or I misunderstood the post?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodolfo Lam)</author>
		<pubDate>Fri, 16 Oct 2015 09:15:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You only need them if you do static linking. For dynamic linking, you just need Allegro&#39;s DLLs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 16 Oct 2015 09:27:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK Great!, so that is a weight off, was writing a guide to help someone install the library <a href="http://stackoverflow.com/questions/33090042/installing-allegro-5/33162450#33162450">here</a>, when I though that I missed to explain the installation of the dependencies <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodolfo Lam)</author>
		<pubDate>Fri, 16 Oct 2015 10:03:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice. I was slightly worried some time but then I found that the git repository was moved, so I&#39;m back on track now. </p><p>I think I really like the clipboard stuff, in fact someone has asked me about using the clipboard just this week. </p><p>During compiling with VS2013, I found a compile error in bitmap_io.c, so I&#39;l attach a patch for this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tobing)</author>
		<pubDate>Fri, 16 Oct 2015 17:00:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, applied it: <a href="https://github.com/liballeg/allegro5/commit/413279">https://github.com/liballeg/allegro5/commit/413279</a></p><p>Interesting though that neither clang nor gcc even warn about the missing * - I guess it might even be optional in the standard just MSVC requires it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 16 Oct 2015 19:34:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I wonder how I didn&#39;t hit this when making the binaries... the 2013 archives definitely have the allegro core library in them...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 16 Oct 2015 20:19:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just realized, this is probably similar to how &quot;x = &amp;memcpy&quot; and &quot;x = memcpy&quot; are identical in C++, here the &amp; for the function pointer is optional.</p><p>Still, it&#39;s a mystery why MSVC 2013 would sometimes have a compile error and sometimes not.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 16 Oct 2015 20:31:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So maybe you found a compiler bug? It&#39;s always funny to try to convince compiler devs their side is wrong and not our code...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodolfo Lam)</author>
		<pubDate>Fri, 16 Oct 2015 21:32:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s not a compiler bug, it was a warning actually and I&#39;m compiling with warnings as error whenever I can. Warnings can find pretty interesting things in your code...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tobing)</author>
		<pubDate>Sun, 18 Oct 2015 15:57:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615781/1017295#target">tobing</a> said:</div><div class="quote"><p>It&#39;s not a compiler bug, it was a warning actually and I&#39;m compiling with warnings as error whenever I can. Warnings can find pretty interesting things in your code...</p></div></div><p>But -Werror is rarely useful <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sun, 18 Oct 2015 19:41:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>We can&#39;t compile Allegro with <span class="source-code"><span class="k3">-</span>Werror</span> because CMake&#39;s compile check tests will often fail in that situation. It&#39;d be a lot of pain to fix all of them. Allegro&#39;s source itself should compile without warnings (and does on Linux). It&#39;d be nice to do so on MSVC, but many of the warnings are completely terrible (especially the warning for <span class="source-code"><span class="k1">while</span><span class="k2">(</span><span class="n">1</span><span class="k2">)</span></span> loops), so we&#39;d have to disable a good portion of them first.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 18 Oct 2015 23:05:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I guess that the usefulness of warnings strongly depends on the compiler, but I&#39;m trying to write code that is free of warnings whenever possible. Currently I&#39;m porting one of my allegro apps to native 64 bit, and for that all the warnings about losing digits in conversion can be a nuisance - or hint to where things have to be adapted. </p><p>With MSVC 2013 I&#39;m using /W3 /WX which does not make ALL warnings to errors, but all of level 3 and below. Plus I have disabled warning 4996 (about using deprecated stuff) and 4267 (conversion from size_t loses digits) for the 64 bit version. With that, all of allegro compiles and works just fine...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tobing)</author>
		<pubDate>Mon, 19 Oct 2015 23:02:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey guys, just wondered if there is a way to configure cmake to detect the static versions of libraries like ogg, vorbis, and theora instead of the dlls when I select SHARED=off for the build type. I know I can set the libraries to link manually, but this just bit me while I was trying to build fully static example programs. They linked to the dll.a files by default.</p><p>I should have some MinGW 4.8.1 binaries for 5.1.12 here in the next few days or so.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 30 Oct 2015 05:15:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What I do is &quot;rm lib/*.dll.a&quot; and then cmake magically picks up the static libraries. Then whenever there&#39;s a mingw update I forget about it and am mystified for an hour why my static .exe doesn&#39;t work any longer <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>If there is a way to do it in cmake that would be nice, but I kinda doubt it, having worked with cmake a lot.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 30 Oct 2015 06:35:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You&#39;d need to fiddle with all the Find* functions (something like that is done by the audio addon). It&#39;s possible, but I&#39;d just do what Elias said.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 30 Oct 2015 08:28:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay, I&#39;ve been struggling with this for a few days now. I keep getting undefined references to libpng functions when trying to compile allegro 5.1.12.</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span><span class="k2">[</span> <span class="n">55</span>%<span class="k2">]</span> Linking CXX executable ex_color.exe
<span class="number">  2</span>
<span class="number">  3</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x4f0c</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_get_error_ptr<span class="s">'</span>
<span class="number">  4</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x4f2a): undefined reference to `png_set_longjmp_fn'</span>
<span class="number">  5</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x740e</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_create_read_struct<span class="s">'</span>
<span class="number">  6</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x7424): undefined reference to `png_create_info_struct'</span>
<span class="number">  7</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x744a</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_longjmp_fn<span class="s">'</span>
<span class="number">  8</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x7477): undefined reference to `png_destroy_read_struct'</span>
<span class="number">  9</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x74ba</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_read_fn<span class="s">'</span>
<span class="number"> 10</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x74cc): undefined reference to `png_read_info'</span>
<span class="number"> 11</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x7511</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_get_IHDR<span class="s">'</span>
<span class="number"> 12</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x759f): undefined reference to `png_destroy_read_struct'</span>
<span class="number"> 13</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x75dd</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_palette_to_rgb<span class="s">'</span>
<span class="number"> 14</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x7602): undefined reference to `png_get_valid'</span>
<span class="number"> 15</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x7652</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_filler<span class="s">'</span>
<span class="number"> 16</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x7664): undefined reference to `png_read_update_i[ 55%] nfoLinking CXX executable ex_config.exe'</span>
<span class="number"> 17</span>
<span class="number"> 18</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x76a9</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_get_IHDR<span class="s">'</span>
<span class="number"> 19</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x76e0): undefined reference to `png_set_read_user_transform_fn'</span>
<span class="number"> 20</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x7761</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_read_image<span class="s">'</span>
<span class="number"> 21</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x7782): undefined reference to `png_read_end'</span>
<span class="number"> 22</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x7792</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_interlace_handling<span class="s">'</span>
<span class="number"> 23</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x77a2): undefined reference to `png_set_gray_to_rgb'</span>
<span class="number"> 24</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x77b2</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_packing<span class="s">'</span>
<span class="number"> 25</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x77c2): undefined reference to `png_set_tRNS_to_alpha'</span>
<span class="number"> 26</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x77d2</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_expand_gray_1_2_4_to_8<span class="s">'</span>
<span class="number"> 27</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x77e2): undefined reference to `png_set_strip_16'</span>
<span class="number"> 28</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x782b</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_set_read_user_transform_fn<span class="s">'</span>
<span class="number"> 29</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x78f7): undefined reference to `png_get_io_ptr'</span>
<span class="number"> 30</span>c:<span class="k3">/</span>mingw<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">4</span>.<span class="n">8</span>.<span class="n">1</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..\libfreetype.a<span class="k2">(</span>sfnt.c.obj<span class="k2">)</span><span class="k2">:</span>sfnt.c:<span class="k2">(</span>.text<span class="k3">+</span><span class="n">0x7934</span><span class="k2">)</span><span class="k2">:</span> undefined reference to `png_get_error_ptr<span class="s">'</span>
<span class="number"> 31</span><span class="s">c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../..\libfreetype.a(sfnt.c.obj):sfnt.c:(.text+0x794a): undefined reference to `png_error'</span>
</div></div><p>

I&#39;ve completely deleted freetype and libpng from my mingw installation and rebuilt them from scratch as well as deleting the allegro build directory and rebuilding allegro. I can&#39;t get rid of these errors.</p><p>It must mean I&#39;m linking to the wrong version of libpng somehow, right?</p><p>Ideas?</p><p>For reference I&#39;m using freetype 2.6.1 and libpng 1.6.18 in my build of allegro.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 01 Nov 2015 08:24:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It might be a new thing for Freetype to require png support (did you compile it yourself?), as Allegro build system doesn&#39;t link libpng when linking in freetype.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 01 Nov 2015 09:29:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, I built freetype and libpng myself with cmake.</p><p>That was it too. The new version of Freetype requires png to be linked in. I just added png and zlib to the CXX and C LINKER FLAGS fields and then everything built okay.</p><p><u>Edit - Update</u></p><p>I have the binaries for A5.1.12 and MinGW 4.8.1 ready. You can get them here :<br /><a href="http://sourceforge.net/projects/unofficialallegro5distribution/files/A5112distroMinGW481-4.tar.7z/download">http://sourceforge.net/projects/unofficialallegro5distribution/files/A5112distroMinGW481-4.tar.7z/download</a></p><p>And you can always get the latest version here :<br /><a href="http://sourceforge.net/projects/unofficialallegro5distribution/files/latest/download">http://sourceforge.net/projects/unofficialallegro5distribution/files/latest/download</a></p><p>If you have any problems with them, report them here on the forums and I will work on a fix for you. I think everything should work out of the box this time.</p><p>Dependencies are included, such as FLAC, freetype2, libpng16, ogg, theora, vorbis, dumb, and openAL. Enjoy!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 12 Nov 2015 01:08:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Possibly it&#39;s an optional dependency (I am looking at the <a href="http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/CMakeLists.txt">CMakeLists.txt</a>)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Thu, 12 Nov 2015 01:27:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You mean openAL? Yeah, it&#39;s optional. I forgot to turn it off though, so it&#39;s still there. :/</p><p>Edit<br />Oh sorry I didn&#39;t look at your link. You mean libpng is an optional dependency for freetype? I don&#39;t think it will hurt anything in this case, as libpng is provided with it in my binaries.</p><p>Edit2<br />Bump. Don&#39;t want the thread to close yet. :/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 18 Nov 2015 13:59:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Respect <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AMCerasoli)</author>
		<pubDate>Mon, 23 Nov 2015 05:01:01 +0000</pubDate>
	</item>
</rss>
