<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 178: location format for gcc not useful for hierarchial source</title><link>https://sourceforge.net/p/cppunit/bugs/178/</link><description>Recent changes to 178: location format for gcc not useful for hierarchial source</description><atom:link href="https://sourceforge.net/p/cppunit/bugs/178/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 10 Apr 2007 00:11:25 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cppunit/bugs/178/feed.rss" rel="self" type="application/rss+xml"/><item><title>location format for gcc not useful for hierarchial source</title><link>https://sourceforge.net/p/cppunit/bugs/178/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The comments in CompilerOutputter.h suggest that "%f:%l:" is the default for gcc compilers.  This isn't useful for the common use case of this outputter -- stepping through to the next error --  when you're building unit tests in a source tree with many directories.&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;p&gt;foo/module1/code.cc&lt;br /&gt;
foo/module1/code_test.cc&lt;/p&gt;
&lt;p&gt;foo/module2/code.cc&lt;br /&gt;
foo/module2/code_test.cc&lt;/p&gt;
&lt;p&gt;with the default of "%f:%l:" you won't know which test an error occurred in, and emacs won't know where to find it.&lt;/p&gt;
&lt;p&gt;an explicit&lt;/p&gt;
&lt;p&gt;outputter.setLocationFormat("%p:%l:")&lt;/p&gt;
&lt;p&gt;does the right thing, but this location format should be the default.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><pubDate>Tue, 10 Apr 2007 00:11:25 -0000</pubDate><guid>https://sourceforge.netd4b03148973484ccf0c24032e54b30ea6bb584e3</guid></item></channel></rss>