<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/547" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-09-23T15:31:26+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/547</id>

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-23T15:31:26+00:00</updated>

		<published>2006-09-23T15:31:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1886#p1886</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1886#p1886"/>
		<title type="html"><![CDATA[Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1886#p1886"><![CDATA[
by the way, on the libxml thing, I think I removed some files that I considered not useful, perhaps that caused the warning.<br><br>I wanted an easy compile-out-of-the-box libxml, working under Linux, windows, Mac etc. I had to cheat, and run 'configure' and provide a config_win32.h and a config.h for non win32. For other exotic platforms, you can still re-run configure in the libxml folder.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Sat Sep 23, 2006 3:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SteveBaker]]></name></author>
		<updated>2006-09-23T15:24:48+00:00</updated>

		<published>2006-09-23T15:24:48+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1884#p1884</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1884#p1884"/>
		<title type="html"><![CDATA[Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1884#p1884"><![CDATA[
I didn't have to touch any of the COLLADA files - they all compiled 100% clean out of the box. <br><br>There was just two changes I made to LibXML.  schematron.c contains two unused static functions that I commented out.  It's not the end of the world if that gets overwritten in a subsequent release...but I'll fling a complaint to the libXML guys.<br><br>All of the other changes were in Bullet files.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=726">SteveBaker</a> — Sat Sep 23, 2006 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-23T15:18:45+00:00</updated>

		<published>2006-09-23T15:18:45+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1883#p1883</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1883#p1883"/>
		<title type="html"><![CDATA[Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1883#p1883"><![CDATA[
Thanks a lot Steve,<br><br>Please ignore libxml and collada. Every time a new version comes out, we might need to copy that over. Unless you want to contribute those changes back to COLLADA-DOM and libxml repositories <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"><br><br>I will check out that linker warning,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Sat Sep 23, 2006 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SteveBaker]]></name></author>
		<updated>2006-09-23T15:03:09+00:00</updated>

		<published>2006-09-23T15:03:09+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1880#p1880</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1880#p1880"/>
		<title type="html"><![CDATA[Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1880#p1880"><![CDATA[
OK - I've committed that set of changes.<br><br>There are still a few warnings, in Extras/LibXML there are about a dozen occurrances of:<blockquote class="uncited"><div>    warning: dereferencing type-punned pointer will break strict-aliasing rules</div></blockquote>...it's not easy to see how to fix these - the code in libXML is really ugly - employing every nasty coding trick in the book, there are also files with 20,000 lines of source code in one file!!<br><br>The other problem I couldn't see how to fix is that most of the demos link with a cryptic message:<blockquote class="uncited"><div>  /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: `.L244' referenced in section `.rodata' of ./out/linuxx86/optimize/libs/libbullet.a(BoxShape.o): defined in discarded section `.gnu.linkonce.t._ZNK8BoxShape16GetPlaneEquationER11SimdVector4i' of ./out/linuxx86/optimize/libs/libbullet.a(BoxShape.o)</div></blockquote>Anyway - I got rid of over 500 warning messages - so this is much better than it was.<br><br>There were quite a few cases where unused variables were initialised from external function calls - the compiler can't optimise those out because it doesn't know whether they have side-effects or not.  In terms of realtime performance, it's quite important to clear these out as you work.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=726">SteveBaker</a> — Sat Sep 23, 2006 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-23T02:42:53+00:00</updated>

		<published>2006-09-23T02:42:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1873#p1873</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1873#p1873"/>
		<title type="html"><![CDATA[Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1873#p1873"><![CDATA[
Thanks a lot Steve!<br><br>On a side note, I just fixed 2 bugs in latest version related to removing objects. Introduced by some recent optimizations. Bullet 2.0f bugfix release is uploaded.<br><br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Sat Sep 23, 2006 2:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SteveBaker]]></name></author>
		<updated>2006-09-23T02:26:09+00:00</updated>

		<published>2006-09-23T02:26:09+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1872#p1872</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1872#p1872"/>
		<title type="html"><![CDATA[Re: Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1872#p1872"><![CDATA[
<blockquote class="uncited"><div>Thanks for offering. It would be good to deal with that indeed. If you can keep the changes fairly minimum, to what you mentioned, please give it a go. Just to avoid potential conflicts etc.</div></blockquote>The changes are individually very simple - but there are a heck of a lot of them!<blockquote class="uncited"><div>Please leave the interfaces, methods and names and other coding style issues as they are ;-)</div></blockquote>Sure - I'm not trying to improve clarity or style or anything - just to get rid of the dumbest of the warnings so the thing mostly compiles clean.<blockquote class="uncited"><div>Also, it's better not to touch most of the 'Extras' folder. Especially COLLADA_DOM and libxml,</div></blockquote>Those two actually compile fairly cleanly already.  LibXML is horrible inside - really ugly coding - but the only warnings I get about it are complaints about pointer aliassing problems that are not at all easy to fix.  In fact, those are probably the only warnings that aren't trivial to fix.<br><br>I'll try to commit something later tonight.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=726">SteveBaker</a> — Sat Sep 23, 2006 2:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-22T22:47:38+00:00</updated>

		<published>2006-09-22T22:47:38+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1868#p1868</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1868#p1868"/>
		<title type="html"><![CDATA[Re: Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1868#p1868"><![CDATA[
<blockquote class="uncited"><div>I see there are a bazillion compile warnings when I build under Linux/g++/gcc. I'm of the "treat all warnings as errors" school of programming!  Is there any problem with me cleaning them up so Bullet bulds cleanly?<br><br>Many of them are trivial things like missing newlines on the ends of files, unused variables, switch statements without defaults, variables that might not be initialised.<br><br>Some are more serious - virtual classes without virtual destructor functions, order of initialisations of member variables, use of 'char' variables (which, remember may or may not be unsigned) to index into 0..255 arrays.   There are some 'static' variables declared in a header file.<br><br>Lots and lots and *LOTS* of junk.</div></blockquote>Hi Steve,<br><br>Thanks for offering. It would be good to deal with that indeed. If you can keep the changes fairly minimum, to what you mentioned, please give it a go. Just to avoid potential conflicts etc.<br><br>Please leave the interfaces, methods and names and other coding style issues as they are <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"><br><br>Also, it's better not to touch most of the 'Extras' folder. Especially COLLADA_DOM and libxml, but also quickstep and Solid are external, and I prefer not to touch them if not strictly necessary. COLLADA_DOM and libxml give a lot of warnings unfortunately, but they are not really part of the core libraries. Core is Bullet/Bullet and Bullet/BulletDynamics and Bullet/LinearMath.<br><br>Thanks,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Fri Sep 22, 2006 10:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SteveBaker]]></name></author>
		<updated>2006-09-22T19:58:35+00:00</updated>

		<published>2006-09-22T19:58:35+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1866#p1866</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1866#p1866"/>
		<title type="html"><![CDATA[Cleanup.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1866#p1866"><![CDATA[
I see there are a bazillion compile warnings when I build under Linux/g++/gcc. I'm of the "treat all warnings as errors" school of programming!  Is there any problem with me cleaning them up so Bullet bulds cleanly?<br><br>Many of them are trivial things like missing newlines on the ends of files, unused variables, switch statements without defaults, variables that might not be initialised.<br><br>Some are more serious - virtual classes without virtual destructor functions, order of initialisations of member variables, use of 'char' variables (which, remember may or may not be unsigned) to index into 0..255 arrays.   There are some 'static' variables declared in a header file.<br><br>Lots and lots and *LOTS* of junk.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=726">SteveBaker</a> — Fri Sep 22, 2006 7:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
