<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jalone.net</title>
	<atom:link href="http://www.jalone.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jalone.net</link>
	<description>A Raw Space for Lorenzo Tognalini.</description>
	<lastBuildDate>Thu, 28 Jul 2011 17:48:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Xcode warnings just after new c++ project creation</title>
		<link>http://www.jalone.net/thoughts/xcode-warnings-just-after-new-cpp-project-creation.html</link>
		<comments>http://www.jalone.net/thoughts/xcode-warnings-just-after-new-cpp-project-creation.html#comments</comments>
		<pubDate>Thu, 28 Jul 2011 01:14:52 +0000</pubDate>
		<dc:creator>jalone</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jalone.net/?p=94</guid>
		<description><![CDATA[<p><img width="300" height="200" src="http://www.jalone.net/wp-content/uploads/2011/07/xcode.jpg" class="attachment-medium wp-post-image" alt="xcode" title="xcode" /></p>It took me a while to find the reason and the solution to this, so i wish to be handy to those that still use xcode 3. The fact: I just created a New Project &#62; Command Line Tool ( but this happen with probably any c++ project ) and 2 warnings suddenly show in [...]]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="200" src="http://www.jalone.net/wp-content/uploads/2011/07/xcode.jpg" class="attachment-medium wp-post-image" alt="xcode" title="xcode" /></p><p>It took me a while to find the reason and the solution to this, so i wish to be handy to those that still use xcode 3.</p>
<p>The fact:</p>
<p>I just created a New Project &gt; Command Line Tool ( but this happen with probably any c++ project ) and 2 warnings suddenly show in Xcode 3.2.4:</p>

		<div class='et_quote'>
			<div class='et_right_quote'>
				The option &#8216;-D_GLIBCXX_DEBUG=1&#8242; should not be passed to GCC 4.2 and has been automatically suppressed.
			</div>
		</div>
	
<p>and</p>

		<div class='et_quote'>
			<div class='et_right_quote'>
				The option ‘-D_GLIBCXX_DEBUG_PEDANTIC=1’ should not be passed to GCC 4.2 and has been automatically suppressed.
			</div>
		</div>
	
<p>This happen systematically after an Xcode upgrade on 10.6, it should actually be a bug fix, or better a workaround, that xcode folks performed on 10.5 and forgot to remove later. There could still be some issues using debug mode and STL by the way. If you need those flags in Debug Mode you can maybe fall back to GCC 4.0.</p>
<p>The solution:</p>
<p>To fix it in the actual project just remove those 2 key from project properties &gt; build &gt; search for them&#8230;</p>
<p>To <span style="text-decoration: underline;">permanently fix</span> it in next project delete/comment the 2 corresponding lines in this file (right-click on C++Tool.xcodeproj &gt; Show Package Content)</p>
<pre class="brush: plain; title: ; notranslate">/Developer/Library/Xcode/Project Templates/Application/Command Line Tool/C++ Tool/C++Tool.xcodeproj/project.pbxproj</pre>
<p>around at line 148:</p>
<pre class="brush: plain; first-line: 148; title: ; notranslate">
/*&quot;_GLIBCXX_DEBUG=1&quot;,
&quot;_GLIBCXX_DEBUG_PEDANTIC=1&quot;,*/
</pre>
<p>This for default C++ projects, same procedure for different kind of c++ projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jalone.net/thoughts/xcode-warnings-just-after-new-cpp-project-creation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XCode Template for New C++ File Class</title>
		<link>http://www.jalone.net/thoughts/xcode-template-for-new-cpp-file-class.html</link>
		<comments>http://www.jalone.net/thoughts/xcode-template-for-new-cpp-file-class.html#comments</comments>
		<pubDate>Tue, 26 Jul 2011 13:09:03 +0000</pubDate>
		<dc:creator>jalone</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jalone.net/?p=43</guid>
		<description><![CDATA[<p><img width="300" height="200" src="http://www.jalone.net/wp-content/uploads/2011/07/xcode.jpg" class="attachment-medium wp-post-image" alt="xcode" title="xcode" /></p>One of the missing default features i noticed in Xcode 3, coming from Eclipse ( classic or CDT ), is the automatic class template filling when using function &#8220;add C++ file&#8221;. Programming in Object Oriented this save you lot a time and even silly errors. What we want is to fill the files created when [...]]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="200" src="http://www.jalone.net/wp-content/uploads/2011/07/xcode.jpg" class="attachment-medium wp-post-image" alt="xcode" title="xcode" /></p><p>One of the missing default features i noticed in <a title="Xcode" href="http://developer.apple.com/xcode/" target="_blank">Xcode</a> 3, coming from Eclipse ( classic or <a title="Eclipse CDT" href="http://www.eclipse.org/cdt/" target="_blank">CDT</a> ), is the automatic class template filling when using function &#8220;add C++ file&#8221;.<br />
Programming in Object Oriented this save you lot a time and even silly errors.<br />
What we want is to fill the files created when adding  new C++ File with Header like this:<br />
Let&#8217;s say we want to create a new Neuron class:</p>
<p>Neuron.cpp</p>
<pre class="brush: cpp; title: ; notranslate">/*
*  Neuron.cpp
*  NeuralNetTest
*
*  Created by Lorenzo Tognalini on 26/07/11.
*  Copyright 2011 jalone.net. All rights reserved.
*
*/

#include &quot;Neuron.h&quot;

Neuron::Neuron(){

}

Neuron::~Neuron(){

}
</pre>
<p>Neuron.h</p>
<pre class="brush: cpp; title: ; notranslate">
/*
*  Neuron.h
*  NeuralNetTest
*
*  Created by Lorenzo Tognalini on 26/07/11.
*  Copyright 2011 jalone.net. All rights reserved.
*
*/

#ifndef Neuron_H
#define Neuron_H

class Neuron{

public:
Neuron();
virtual    ~Neuron();
};

#endif //Neuron_H
</pre>
<p>To achieve this just follow this path</p>
<pre class="brush: plain; title: ; notranslate">/Developer/Library/Xcode/File Templates/C and C++</pre>
<p>and you&#8217;ll find two fails <em>file.h</em> and <em>file.cpp</em><br />
open them with any texteditor and edit their content using some provided tags ( pay attention to tag character ).<br />
This is the way i edited them:</p>
<p>file.h</p>
<pre class="brush: cpp; title: ; notranslate">
/*
*  «FILENAME»
*  «PROJECTNAME»
*
*  Created by «FULLUSERNAME» on «DATE».
*  Copyright «YEAR» «ORGANIZATIONNAME». All rights reserved.
*
*/

#ifndef «FILEBASENAMEASIDENTIFIER»_H
#define «FILEBASENAMEASIDENTIFIER»_H

class «FILEBASENAMEASIDENTIFIER»{

public:
«FILEBASENAMEASIDENTIFIER»();
virtual    ~«FILEBASENAMEASIDENTIFIER»();

};

#endif //«FILEBASENAMEASIDENTIFIER»_H
</pre>
<p>file.cpp</p>
<pre class="brush: cpp; title: ; notranslate">

/*
*  «FILENAME»
*  «PROJECTNAME»
*
*  Created by «FULLUSERNAME» on «DATE».
*  Copyright «YEAR» «ORGANIZATIONNAME». All rights reserved.
*
*/

«OPTIONALHEADERINCLUDELINE»

«FILEBASENAMEASIDENTIFIER»::«FILEBASENAMEASIDENTIFIER»(){

}

«FILEBASENAMEASIDENTIFIER»::~«FILEBASENAMEASIDENTIFIER»(){

}
</pre>
<p>I&#8217;d like to make the include guard symbol uppercase and word underscore-separated, but i couldn&#8217;t find a way. So please let me know if you find more tags.</p>
<p>EDIT: files in previous path could not survive a developer tools change to solve this edit file following <a title="template" href="http://stackoverflow.com/questions/33720/change-templates-in-xcode" target="_blank">this link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jalone.net/thoughts/xcode-template-for-new-cpp-file-class.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jalone.net Up and Running</title>
		<link>http://www.jalone.net/thoughts/jalone-net-up-and-running.html</link>
		<comments>http://www.jalone.net/thoughts/jalone-net-up-and-running.html#comments</comments>
		<pubDate>Fri, 17 Jun 2011 00:32:14 +0000</pubDate>
		<dc:creator>jalone</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[jalone.net]]></category>

		<guid isPermaLink="false">http://www.jalone.net/?p=28</guid>
		<description><![CDATA[<p><img width="300" height="200" src="http://www.jalone.net/wp-content/uploads/2011/06/jalone.net-banner.png" class="attachment-medium wp-post-image" alt="jalone.net" title="jalone.net-banner" /></p>Welcome aboard the brand new version of my personal website! Feel free to submit any suggestion or critic!]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="200" src="http://www.jalone.net/wp-content/uploads/2011/06/jalone.net-banner.png" class="attachment-medium wp-post-image" alt="jalone.net" title="jalone.net-banner" /></p><p>Welcome aboard the brand new version of my personal website!</p>
<p>Feel free to submit any suggestion or critic! <img src='http://www.jalone.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jalone.net/thoughts/jalone-net-up-and-running.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Destroy Everything You Touch</title>
		<link>http://www.jalone.net/gallery/destroy-everything-you-touch.html</link>
		<comments>http://www.jalone.net/gallery/destroy-everything-you-touch.html#comments</comments>
		<pubDate>Fri, 17 Jun 2011 00:28:27 +0000</pubDate>
		<dc:creator>jalone</dc:creator>
				<category><![CDATA[Gallery]]></category>

		<guid isPermaLink="false">http://www.jalone.net/?p=26</guid>
		<description><![CDATA[<p><img width="300" height="139" src="http://www.jalone.net/wp-content/uploads/2011/06/Destroy-Everything-You-Touch4138183879660831649-300x139.jpg" class="attachment-medium wp-post-image" alt="Destroy Everything You Touch4138183879660831649" title="Destroy Everything You Touch4138183879660831649" /></p>Just My Eye. Blurred. To listen to while watching Playing with my new filters&#8230;all together now XD]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="139" src="http://www.jalone.net/wp-content/uploads/2011/06/Destroy-Everything-You-Touch4138183879660831649-300x139.jpg" class="attachment-medium wp-post-image" alt="Destroy Everything You Touch4138183879660831649" title="Destroy Everything You Touch4138183879660831649" /></p><p>Just My Eye. Blurred.<br />
<a title="Listen to it in the while" href="http://www.youtube.com/watch?v=spF8yc-S070" target="_blank">To listen to while watching</a></p>
<p>Playing with my new filters&#8230;all together now XD</p>
<a href='http://www.flickr.com/photos/jalone87/4396783174/' class='small-button smallsilver' target="_blank"><span>See It On Flickr!</span></a>
]]></content:encoded>
			<wfw:commentRss>http://www.jalone.net/gallery/destroy-everything-you-touch.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Flies. The Memory Remains.</title>
		<link>http://www.jalone.net/gallery/time-flies-the-memory-remains.html</link>
		<comments>http://www.jalone.net/gallery/time-flies-the-memory-remains.html#comments</comments>
		<pubDate>Fri, 17 Jun 2011 00:02:13 +0000</pubDate>
		<dc:creator>jalone</dc:creator>
				<category><![CDATA[Gallery]]></category>

		<guid isPermaLink="false">http://www.jalone.net/?p=15</guid>
		<description><![CDATA[<p><img width="300" height="139" src="http://www.jalone.net/wp-content/uploads/2011/06/Time-Flies.-The-Memory-Remains.8557637849487911661-300x139.jpg" class="attachment-medium wp-post-image" alt="Time Flies. The Memory Remains" title="Time Flies. The Memory Remains" /></p>Night view of Colosseum. Vista Notturna del Colosseo. Il tempo Vola. La Memoria Rimane. Porcupine Tree &#8211; http://www.youtube.com/watch?v=p8jm61vk2Ao]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="139" src="http://www.jalone.net/wp-content/uploads/2011/06/Time-Flies.-The-Memory-Remains.8557637849487911661-300x139.jpg" class="attachment-medium wp-post-image" alt="Time Flies. The Memory Remains" title="Time Flies. The Memory Remains" /></p><p>Night view of Colosseum.<br />
Vista Notturna del Colosseo.</p>
<p>Il tempo Vola. La Memoria Rimane.</p>
<p>Porcupine Tree &#8211; <a title="Listen to it here" href="http://www.youtube.com/watch?v=p8jm61vk2Ao" target="_blank">http://www.youtube.com/watch?v=p8jm61vk2Ao</a></p>
<a href='http://www.flickr.com/photos/jalone87/4291900216' class='small-button smallsilver' target="_blank"><span>See It On Flickr!</span></a>
]]></content:encoded>
			<wfw:commentRss>http://www.jalone.net/gallery/time-flies-the-memory-remains.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

