<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1801</id>
	<title>Nabble - Gnu - Coding Standards</title>
	<updated>2009-11-18T14:32:40Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Coding-Standards-f1801.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Coding-Standards-f1801.html" />
	<subtitle type="html">Discuss the GNU Coding Standards.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26417003</id>
	<title>Re: path vs. file name</title>
	<published>2009-11-18T14:32:40Z</published>
	<updated>2009-11-18T14:32:40Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Thanks, the usage of path/pathname is sadly to scattered around for me
&lt;br&gt;&amp;nbsp; &amp;nbsp; to spend time fixing the issue by my self. &amp;nbsp;Do we have any list of
&lt;br&gt;&amp;nbsp; &amp;nbsp; volunteers that where one could ask for help?
&lt;br&gt;&lt;br&gt;Just post on gnu-prog-discuss.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/path-vs.-file-name-tp26348759p26417003.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26413602</id>
	<title>Re: path vs. file name</title>
	<published>2009-11-18T10:56:24Z</published>
	<updated>2009-11-18T10:56:24Z</updated>
	<author>
		<name>Alfred M. Szmidt</name>
	</author>
	<content type="html">Thanks, the usage of path/pathname is sadly to scattered around for me
&lt;br&gt;to spend time fixing the issue by my self. &amp;nbsp;Do we have any list of
&lt;br&gt;volunteers that where one could ask for help?
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/path-vs.-file-name-tp26348759p26413602.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26381902</id>
	<title>Re: path vs. file name</title>
	<published>2009-11-16T15:36:37Z</published>
	<updated>2009-11-16T15:36:37Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">Date: Mon, 16 Nov 2009 04:06:37 -0500
&lt;br&gt;From: Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381902&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381902&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;karl@...&lt;/a&gt; (Karl Berry)
&lt;br&gt;Subject: Re: [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381902&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ams@...&lt;/a&gt;: path vs. file name]
&lt;br&gt;&lt;br&gt;AMS wrote:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Would it be possible to change the following to allow for both `path'
&lt;br&gt;&amp;nbsp; &amp;nbsp; and `file name' to be suggested and remove the discouragement for
&lt;br&gt;&amp;nbsp; &amp;nbsp; using `path' to refer to file names? &amp;nbsp;It is infact incorrect, since we
&lt;br&gt;&amp;nbsp; &amp;nbsp; use the term path for file names in many GNU programs already.
&lt;br&gt;&lt;br&gt;This is no reason to change a good decision.
&lt;br&gt;Can you find those programs, and ask their maintainers to fix the usage?
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/path-vs.-file-name-tp26348759p26381902.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26364313</id>
	<title>Re: path vs. file name</title>
	<published>2009-11-15T14:36:56Z</published>
	<updated>2009-11-15T14:36:56Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Would it be possible to change the following to allow for both `path'
&lt;br&gt;&amp;nbsp; &amp;nbsp; and `file name'
&lt;br&gt;&lt;br&gt;I asked rms.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/path-vs.-file-name-tp26348759p26364313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26348759</id>
	<title>path vs. file name</title>
	<published>2009-11-14T02:10:38Z</published>
	<updated>2009-11-14T02:10:38Z</updated>
	<author>
		<name>Alfred M. Szmidt</name>
	</author>
	<content type="html">Would it be possible to change the following to allow for both `path'
&lt;br&gt;and `file name' to be suggested and remove the discouragement for
&lt;br&gt;using `path' to refer to file names? &amp;nbsp;It is infact incorrect, since we
&lt;br&gt;use the term path for file names in many GNU programs already.
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp;Please do not use the term &amp;quot;pathname&amp;quot; that is used in Unix
&lt;br&gt;| documentation; use &amp;quot;file name&amp;quot; (two words) instead. &amp;nbsp;We use the term
&lt;br&gt;| &amp;quot;path&amp;quot; only for search paths, which are lists of directory names.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/path-vs.-file-name-tp26348759p26348759.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26175321</id>
	<title>Re: 'tar'  in the GNU Coding Standards</title>
	<published>2009-11-02T22:20:21Z</published>
	<updated>2009-11-02T22:20:21Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">* Dr. David Kirkby wrote on Sun, Nov 01, 2009 at 10:38:51PM CET:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The best way IMHO would be for GNU tar to default to a more portable
&lt;br&gt;&amp;gt; format rather than its own 'standard'.
&lt;br&gt;&lt;br&gt;I'm not sure whether that will happen: the more portable format has more
&lt;br&gt;limitations, such as the 99 character path length limit.
&lt;br&gt;&lt;br&gt;&amp;gt; Reading &lt;a href=&quot;http://www.gnu.org/software/automake/manual/tar/Formats.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/automake/manual/tar/Formats.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it implies this will happen. The sooner the better I feel. I do not
&lt;br&gt;&amp;gt; know how well Sun's tar will handle the tar format of GNU tar then.
&lt;br&gt;&lt;br&gt;I'm not sure what the text is meant to imply will happen, but I find it
&lt;br&gt;weird if the GNU tar manual were to imply what direction GNU Automake
&lt;br&gt;will evolve towards in the future.
&lt;br&gt;&lt;br&gt;&amp;gt; I know there is one package in the Sage project which will not
&lt;br&gt;&amp;gt; extract with Sun's tar. But if one uses Sun's tar to create the
&lt;br&gt;&amp;gt; tarball, GNU tar can extract it ok.
&lt;br&gt;&lt;br&gt;Well, can the tarball be created ok with the v7 format, and no symlinks?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;The 'Releases' node of the GCS describes some of the precautions to use
&lt;br&gt;&amp;gt; &amp;gt;when creating package tarballs. &amp;nbsp;If possible, I think it would be
&lt;br&gt;&amp;gt; &amp;gt;prudent to advise the tarball creator to use the most portable archive
&lt;br&gt;&amp;gt; &amp;gt;format possible. &amp;nbsp;The GNU tar manual has `Portability' and `Formats'
&lt;br&gt;&amp;gt; &amp;gt;sections about this, and the GNU Automake manual node `Options' shows
&lt;br&gt;&amp;gt; &amp;gt;how to apply them to your package, should you use automake. &amp;nbsp;Automake
&lt;br&gt;&amp;gt; &amp;gt;uses old v7 archive format by default for `make dist'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That sounds sensible. I'm not sure why GNU tar does not default to
&lt;br&gt;&amp;gt; something sensible like that.
&lt;/div&gt;&lt;br&gt;I'm afraid you'll have to ask on a tar mailing list, or read its manual
&lt;br&gt;for a rationale.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;hence it's better the user was able to write:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;$ TAR=/usr/local/bin/gtar
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;$ export TAR
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;How would you set $(TAR) if not supplied by the user though?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not a wizard on Makefiles, but is it not possible to write them
&lt;br&gt;&amp;gt; in such a way that if the environment variable 'TAR' is unset, then
&lt;br&gt;&amp;gt; $TAR gets set to 'tar', otherwise it is whatever the TAR is set to?
&lt;/div&gt;&lt;br&gt;Well. &amp;nbsp;The make part of the answer is: Yes, with GNU make you can just
&lt;br&gt;write
&lt;br&gt;&amp;nbsp; TAR ?= tar
&lt;br&gt;&lt;br&gt;and with portable make, we can of course still default TAR to tar in
&lt;br&gt;configure.ac:
&lt;br&gt;&amp;nbsp; : ${TAR=tar}
&lt;br&gt;&amp;nbsp; AC_SUBST([TAR])
&lt;br&gt;&lt;br&gt;But that's not the real knack. &amp;nbsp;If plain 'tar' is not sufficient, as you
&lt;br&gt;imply, then the user must choose something different, or we need to have
&lt;br&gt;a macro that automatically selects a better alternative. &amp;nbsp;So, either we
&lt;br&gt;need to amend installation instructions, which we're fairly reluctant to
&lt;br&gt;do, or we need a good kind of test to distinguish good 'tar' from bad
&lt;br&gt;'tar', which I wouldn't really know how to do well.
&lt;br&gt;&lt;br&gt;&amp;gt; Jöerg Schilling's 'star' is one other implementation I am aware of.
&lt;br&gt;&amp;gt; He seems to have the knack of writing extremely portable code.
&lt;br&gt;&lt;br&gt;That's fairly irrelevant for the issue at hand though; the question is
&lt;br&gt;not whether there exists a portable tar program (GNU tar would be a
&lt;br&gt;candidate as well), but which kind of functionality you can expect to
&lt;br&gt;be *already installed* on your users' systems.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt;BTW, I agree that egrep and fgrep should be fixed, as you noted
&lt;br&gt;&amp;gt; &amp;gt;somewhere in this thread.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you personally do something about the fgrep and egrep? Or do you
&lt;br&gt;&amp;gt; know who to handle the issue to?
&lt;br&gt;&lt;br&gt;I'll handle it.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27tar%27--in-the-GNU-Coding-Standards-tp26040605p26175321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26155159</id>
	<title>Re: 'tar'  in the GNU Coding Standards</title>
	<published>2009-11-01T13:38:51Z</published>
	<updated>2009-11-01T13:38:51Z</updated>
	<author>
		<name>Dr. David Kirkby</name>
	</author>
	<content type="html">Ralf Wildenhues wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello David,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sorry about the delay.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; * Dr. David Kirkby wrote on Sat, Oct 24, 2009 at 04:35:36PM CEST:
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; The configure script and the Makefile rules for building and
&lt;br&gt;&amp;gt;&amp;gt; installation should not use any utilities directly except these:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;awk cat cmp cp diff echo egrep expr false grep install-info
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;ln ls mkdir mv pwd rm rmdir sed sleep sort tar test touch tr true
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I believe 'tar' should removed from that list, but allow someone to
&lt;br&gt;&amp;gt;&amp;gt; select a variable for 'tar'. On Solaris for instance, Sun's tar can
&lt;br&gt;&amp;gt;&amp;gt; not extract all tar files programs written with GNU tar, though it
&lt;br&gt;&amp;gt;&amp;gt; does manage most of them. (It's not simply the fact some options
&lt;br&gt;&amp;gt;&amp;gt; just as z and j are not supported, but more fundamental issues.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I agree that there are problems with non-portable tarballs. &amp;nbsp;That brings
&lt;br&gt;&amp;gt; up a couple of points:
&lt;/div&gt;&lt;br&gt;The best way IMHO would be for GNU tar to default to a more portable format 
&lt;br&gt;rather than its own 'standard'.
&lt;br&gt;&lt;br&gt;Reading &lt;a href=&quot;http://www.gnu.org/software/automake/manual/tar/Formats.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/automake/manual/tar/Formats.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;it implies this will happen. The sooner the better I feel. I do not know how 
&lt;br&gt;well Sun's tar will handle the tar format of GNU tar then.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; The typical user downloading a tarball from the net and extracting it
&lt;br&gt;&amp;gt; does not use the $(TAR) in the makefile inside the tarball; he uses tar
&lt;br&gt;&amp;gt; on the command line, before the makefile is used for the first time, and
&lt;br&gt;&amp;gt; he doesn't need `make dist' or similar which would use tar again from
&lt;br&gt;&amp;gt; within the makefile.
&lt;br&gt;&lt;br&gt;&amp;gt; If tar is not sufficient to extract some package tarball, then this
&lt;br&gt;&amp;gt; ought to be clear from the installation instructions. &amp;nbsp;However,
&lt;br&gt;&amp;gt; requiring, say, GNU tar in general, would be quite some move; we don't
&lt;br&gt;&amp;gt; usually any other GNU tools to be preinstalled, if only for
&lt;br&gt;&amp;gt; bootstrapping reasons.
&lt;br&gt;&lt;br&gt;A much easier move would be to get GNU tar to write by default in a more 
&lt;br&gt;portable format.
&lt;br&gt;&lt;br&gt;I know there is one package in the Sage project which will not extract with 
&lt;br&gt;Sun's tar. But if one uses Sun's tar to create the tarball, GNU tar can extract 
&lt;br&gt;it ok.
&lt;br&gt;&lt;br&gt;&amp;gt; The 'Releases' node of the GCS describes some of the precautions to use
&lt;br&gt;&amp;gt; when creating package tarballs. &amp;nbsp;If possible, I think it would be
&lt;br&gt;&amp;gt; prudent to advise the tarball creator to use the most portable archive
&lt;br&gt;&amp;gt; format possible. &amp;nbsp;The GNU tar manual has `Portability' and `Formats'
&lt;br&gt;&amp;gt; sections about this, and the GNU Automake manual node `Options' shows
&lt;br&gt;&amp;gt; how to apply them to your package, should you use automake. &amp;nbsp;Automake
&lt;br&gt;&amp;gt; uses old v7 archive format by default for `make dist'.
&lt;br&gt;&lt;br&gt;That sounds sensible. I'm not sure why GNU tar does not default to something 
&lt;br&gt;sensible like that.
&lt;br&gt;&lt;br&gt;&amp;gt; I'm unsure of how wide-spread installation of a more capable tar program
&lt;br&gt;&amp;gt; is on systems with a limited vendor tar.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Issues with non-GNU versions of tar are common on lots of non-linux
&lt;br&gt;&amp;gt;&amp;gt; platforms when using GNU tools.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; hence it's better the user was able to write:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; $ TAR=/usr/local/bin/gtar
&lt;br&gt;&amp;gt;&amp;gt; $ export TAR
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How would you set $(TAR) if not supplied by the user though? 
&lt;br&gt;&lt;br&gt;I'm not a wizard on Makefiles, but is it not possible to write them in such a 
&lt;br&gt;way that if the environment variable 'TAR' is unset, then $TAR gets set to 
&lt;br&gt;'tar', otherwise it is whatever the TAR is set to?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I haven't
&lt;br&gt;&amp;gt; yet seen a good Autoconf test for a capable tar, besides one that
&lt;br&gt;&amp;gt; wouldn't select GNU tar only; writing such a macro would probably be a
&lt;br&gt;&amp;gt; good thing to do before changing GCS. &amp;nbsp;Requiring the user to select a
&lt;br&gt;&amp;gt; tar program manually seems a bit awkward. &amp;nbsp;Note that one alternative to
&lt;br&gt;&amp;gt; choosing a tar program is to use something like the `missing' program
&lt;br&gt;&amp;gt; that Automake selects for some tools that may not be present. &amp;nbsp;OTOH I
&lt;br&gt;&amp;gt; don't see how packages can ignore or replace tar's functionality in that
&lt;br&gt;&amp;gt; case, unlike, say, makeinfo, where the info files are typically
&lt;br&gt;&amp;gt; distributed in the tarball.
&lt;/div&gt;&lt;br&gt;Jöerg Schilling's 'star' is one other implementation I am aware of. He seems to 
&lt;br&gt;have the knack of writing extremely portable code.
&lt;br&gt;&lt;br&gt;&amp;gt; BTW, I agree that egrep and fgrep should be fixed, as you noted
&lt;br&gt;&amp;gt; somewhere in this thread.
&lt;br&gt;&lt;br&gt;Can you personally do something about the fgrep and egrep? Or do you know who to 
&lt;br&gt;handle the issue to?
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ralf
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27tar%27--in-the-GNU-Coding-Standards-tp26040605p26155159.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26149408</id>
	<title>Re: 'tar'  in the GNU Coding Standards</title>
	<published>2009-11-01T01:42:13Z</published>
	<updated>2009-11-01T01:42:13Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello David,
&lt;br&gt;&lt;br&gt;sorry about the delay.
&lt;br&gt;&lt;br&gt;* Dr. David Kirkby wrote on Sat, Oct 24, 2009 at 04:35:36PM CEST:
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt; The configure script and the Makefile rules for building and
&lt;br&gt;&amp;gt; installation should not use any utilities directly except these:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;awk cat cmp cp diff echo egrep expr false grep install-info
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;ln ls mkdir mv pwd rm rmdir sed sleep sort tar test touch tr true
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt; I believe 'tar' should removed from that list, but allow someone to
&lt;br&gt;&amp;gt; select a variable for 'tar'. On Solaris for instance, Sun's tar can
&lt;br&gt;&amp;gt; not extract all tar files programs written with GNU tar, though it
&lt;br&gt;&amp;gt; does manage most of them. (It's not simply the fact some options
&lt;br&gt;&amp;gt; just as z and j are not supported, but more fundamental issues.
&lt;br&gt;&lt;br&gt;I agree that there are problems with non-portable tarballs. &amp;nbsp;That brings
&lt;br&gt;up a couple of points:
&lt;br&gt;&lt;br&gt;The typical user downloading a tarball from the net and extracting it
&lt;br&gt;does not use the $(TAR) in the makefile inside the tarball; he uses tar
&lt;br&gt;on the command line, before the makefile is used for the first time, and
&lt;br&gt;he doesn't need `make dist' or similar which would use tar again from
&lt;br&gt;within the makefile.
&lt;br&gt;&lt;br&gt;If tar is not sufficient to extract some package tarball, then this
&lt;br&gt;ought to be clear from the installation instructions. &amp;nbsp;However,
&lt;br&gt;requiring, say, GNU tar in general, would be quite some move; we don't
&lt;br&gt;usually any other GNU tools to be preinstalled, if only for
&lt;br&gt;bootstrapping reasons.
&lt;br&gt;&lt;br&gt;The 'Releases' node of the GCS describes some of the precautions to use
&lt;br&gt;when creating package tarballs. &amp;nbsp;If possible, I think it would be
&lt;br&gt;prudent to advise the tarball creator to use the most portable archive
&lt;br&gt;format possible. &amp;nbsp;The GNU tar manual has `Portability' and `Formats'
&lt;br&gt;sections about this, and the GNU Automake manual node `Options' shows
&lt;br&gt;how to apply them to your package, should you use automake. &amp;nbsp;Automake
&lt;br&gt;uses old v7 archive format by default for `make dist'.
&lt;br&gt;&lt;br&gt;I'm unsure of how wide-spread installation of a more capable tar program
&lt;br&gt;is on systems with a limited vendor tar.
&lt;br&gt;&lt;br&gt;&amp;gt; Issues with non-GNU versions of tar are common on lots of non-linux
&lt;br&gt;&amp;gt; platforms when using GNU tools.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; hence it's better the user was able to write:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ TAR=/usr/local/bin/gtar
&lt;br&gt;&amp;gt; $ export TAR
&lt;br&gt;&lt;br&gt;How would you set $(TAR) if not supplied by the user though? &amp;nbsp;I haven't
&lt;br&gt;yet seen a good Autoconf test for a capable tar, besides one that
&lt;br&gt;wouldn't select GNU tar only; writing such a macro would probably be a
&lt;br&gt;good thing to do before changing GCS. &amp;nbsp;Requiring the user to select a
&lt;br&gt;tar program manually seems a bit awkward. &amp;nbsp;Note that one alternative to
&lt;br&gt;choosing a tar program is to use something like the `missing' program
&lt;br&gt;that Automake selects for some tools that may not be present. &amp;nbsp;OTOH I
&lt;br&gt;don't see how packages can ignore or replace tar's functionality in that
&lt;br&gt;case, unlike, say, makeinfo, where the info files are typically
&lt;br&gt;distributed in the tarball.
&lt;br&gt;&lt;br&gt;&lt;br&gt;BTW, I agree that egrep and fgrep should be fixed, as you noted
&lt;br&gt;somewhere in this thread.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27tar%27--in-the-GNU-Coding-Standards-tp26040605p26149408.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26046120</id>
	<title>Re: 'tar'  in the GNU Coding Standards</title>
	<published>2009-10-25T01:49:09Z</published>
	<updated>2009-10-25T01:49:09Z</updated>
	<author>
		<name>Dr. David Kirkby</name>
	</author>
	<content type="html">Karl Berry wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi David,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for writing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I believe 'tar' should removed from that list, but allow someone to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; select a variable for 'tar'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In typical Makefiles tar is already a variable, as are others in that
&lt;br&gt;&amp;gt; list. &amp;nbsp;I'm not sure that we need to standardize the variable names for
&lt;br&gt;&amp;gt; them ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ralf, wdyt?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Karl
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;The piece above this says:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;The configure script and the Makefile rules for building and installation 
&lt;br&gt;should not use any utilities directly except these: &amp;quot;
&lt;br&gt;&lt;br&gt;so this is not only Makefiles, but configure scripts too.
&lt;br&gt;&lt;br&gt;I've seen several makefiles and scripts over the years where 'tar' is hard-coded 
&lt;br&gt;in, which will cause problems in some cases.
&lt;br&gt;&lt;br&gt;It should also be noted that egrep is not required to be installed on any system 
&lt;br&gt;conforming to POSIX 2004.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.opengroup.org/onlinepubs/009695399/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opengroup.org/onlinepubs/009695399/&lt;/a&gt;&lt;br&gt;&lt;br&gt;If the intension is to write portable programs, one can't rely on using the 
&lt;br&gt;latest standards, but even the 2008 POSIX specification
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.opengroup.org/onlinepubs/9699919799/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opengroup.org/onlinepubs/9699919799/&lt;/a&gt;&lt;br&gt;&lt;br&gt;does not require egrep. I learned that from reading the autoconf manual!
&lt;br&gt;&lt;br&gt;grep -E is supposed to support extended regular expressions (and GNU's grep 
&lt;br&gt;does), though according to the autoconf manual, not all greps conform to POSIX 
&lt;br&gt;and so therefore they do not all support grep -E.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27tar%27--in-the-GNU-Coding-Standards-tp26040605p26046120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26043575</id>
	<title>Re: 'tar'  in the GNU Coding Standards</title>
	<published>2009-10-24T15:11:05Z</published>
	<updated>2009-10-24T15:11:05Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;Thanks for writing.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I believe 'tar' should removed from that list, but allow someone to
&lt;br&gt;&amp;nbsp; &amp;nbsp; select a variable for 'tar'.
&lt;br&gt;&lt;br&gt;In typical Makefiles tar is already a variable, as are others in that
&lt;br&gt;list. &amp;nbsp;I'm not sure that we need to standardize the variable names for
&lt;br&gt;them ...
&lt;br&gt;&lt;br&gt;Ralf, wdyt?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Karl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27tar%27--in-the-GNU-Coding-Standards-tp26040605p26043575.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26040605</id>
	<title>'tar'  in the GNU Coding Standards</title>
	<published>2009-10-24T07:35:36Z</published>
	<updated>2009-10-24T07:35:36Z</updated>
	<author>
		<name>Dr. David Kirkby</name>
	</author>
	<content type="html">At: &lt;a href=&quot;http://www.gnu.org/prep/standards/standards.html#Names&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/prep/standards/standards.html#Names&lt;/a&gt;&lt;br&gt;&lt;br&gt;it says:
&lt;br&gt;----------------------------------------------------------
&lt;br&gt;The configure script and the Makefile rules for building and installation should 
&lt;br&gt;not use any utilities directly except these:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; awk cat cmp cp diff echo egrep expr false grep install-info
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ln ls mkdir mv pwd rm rmdir sed sleep sort tar test touch tr true
&lt;br&gt;&lt;br&gt;----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Sorry, I can't give you a diff against standards.texi or make-stds.texi but here 
&lt;br&gt;are my thoughts, and a way to word it.
&lt;br&gt;&lt;br&gt;I believe 'tar' should removed from that list, but allow someone to select a 
&lt;br&gt;variable for 'tar'. On Solaris for instance, Sun's tar can not extract all tar 
&lt;br&gt;files programs written with GNU tar, though it does manage most of them. (It's 
&lt;br&gt;not simply the fact some options just as z and j are not supported, but more 
&lt;br&gt;fundamental issues.
&lt;br&gt;&lt;br&gt;Issues with non-GNU versions of tar are common on lots of non-linux platforms 
&lt;br&gt;when using GNU tools.
&lt;br&gt;&lt;br&gt;hence it's better the user was able to write:
&lt;br&gt;&lt;br&gt;$ TAR=/usr/local/bin/gtar
&lt;br&gt;$ export TAR
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hence I suggest a revised wording of:
&lt;br&gt;&lt;br&gt;--------------SUGGESTED VERSION---------------------------
&lt;br&gt;The configure script and the Makefile rules for building and installation should 
&lt;br&gt;not use any utilities directly except these:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; awk cat cmp cp diff echo egrep expr false grep install-info
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ln ls mkdir mv pwd rm rmdir sed sleep sort test touch tr true
&lt;br&gt;&lt;br&gt;----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Further down, the GNU coding standards say:
&lt;br&gt;&lt;br&gt;------------------------------------------------------
&lt;br&gt;The Makefile rules for building and installation can also use compilers and 
&lt;br&gt;related programs, but should do so via make variables so that the user can 
&lt;br&gt;substitute alternatives. Here are some of the programs we mean:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ar bison cc flex install ld ldconfig lex
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; make makeinfo ranlib texi2dvi yacc
&lt;br&gt;&lt;br&gt;Use the following make variables to run those programs:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(AR) $(BISON) $(CC) $(FLEX) $(INSTALL) $(LD) $(LDCONFIG) $(LEX)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) $(MAKEINFO) $(RANLIB) $(TEXI2DVI) $(YACC)
&lt;br&gt;----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Given the above, I would suggest tar is added to those lists.
&lt;br&gt;&lt;br&gt;Hence I would suggest that the following
&lt;br&gt;&lt;br&gt;------------------- CURRENT VERSION ------------------------------
&lt;br&gt;The Makefile rules for building and installation can also use compilers and 
&lt;br&gt;related programs, but should do so via make variables so that the user can 
&lt;br&gt;substitute alternatives. Here are some of the programs we mean:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ar bison cc flex install ld ldconfig lex
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; make makeinfo ranlib texi2dvi yacc
&lt;br&gt;&lt;br&gt;Use the following make variables to run those programs:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(AR) $(BISON) $(CC) $(FLEX) $(INSTALL) $(LD) $(LDCONFIG) $(LEX)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) $(MAKEINFO) $(RANLIB) $(TEXI2DVI) $(YACC)
&lt;br&gt;-------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;is changed to
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------SUGGESTED VERSION ---------------
&lt;br&gt;The Makefile rules for building and installation can also use compilers and 
&lt;br&gt;related programs, but should do so via make variables so that the user can 
&lt;br&gt;substitute alternatives. Here are some of the programs we mean:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ar bison cc flex install ld ldconfig lex
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; makeinfo ranlib tar texi2dvi yacc
&lt;br&gt;&lt;br&gt;Use the following make variables to run those programs:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(AR) $(BISON) $(CC) $(FLEX) $(INSTALL) $(LD) $(LDCONFIG) $(LEX)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) $(MAKEINFO) $(RANLIB) $(TAR) $(TEXI2DVI) $(YACC)
&lt;br&gt;-------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27tar%27--in-the-GNU-Coding-Standards-tp26040605p26040605.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25952596</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-18T19:39:05Z</published>
	<updated>2009-10-18T19:39:05Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Is :: starting a new line? If so, I think emacs does not parse more
&lt;br&gt;&amp;nbsp; &amp;nbsp; than one line of GCC's output at a time. Would that change with this
&lt;br&gt;&amp;nbsp; &amp;nbsp; proposal?
&lt;br&gt;&lt;br&gt;Parsing either of these formats will require specialized code for sure.
&lt;br&gt;&lt;br&gt;At the risk of complicating the decision, another idea just occurred to me:
&lt;br&gt;output a separate error message for each argument, like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; foo.c:47:5-10: First argument of erroneous operation
&lt;br&gt;&amp;nbsp; &amp;nbsp; foo.c:47:14-250: Second argument of erroneous operation
&lt;br&gt;&lt;br&gt;The IDE could recognize these two error messages
&lt;br&gt;and process them specially however it wishes.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25952596.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25943671</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-17T20:10:20Z</published>
	<updated>2009-10-17T20:10:20Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; FWIW, clang uses ranges for a lot of things other than arguments.
&lt;br&gt;&lt;br&gt;We already support ranges in error messages. &amp;nbsp;The issue here is to
&lt;br&gt;include more than one range. &amp;nbsp;These two examples need only one:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $ clang -fsyntax-only t.c
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t.c:12:8: error: called object type 'int' is not a function or function pointer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(P-Q)();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~~~~^
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ clang t.c
&lt;br&gt;&amp;nbsp; &amp;nbsp; t.c:5:28: warning: use of GNU old-style field designator extension
&lt;br&gt;&amp;nbsp; &amp;nbsp; struct point origin = { x: 0.0, y: 0.0 };
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~ ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.x =
&lt;br&gt;&lt;br&gt;However, my proposal is not limited to indicating the arguments.
&lt;br&gt;It could be used to convey multiple ranges for any purpose.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25943671.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25943669</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-17T20:09:59Z</published>
	<updated>2009-10-17T20:09:59Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;quot;Argument locations&amp;quot; because they need to handle translations to other 
&lt;br&gt;&amp;nbsp; &amp;nbsp; languages as well. &amp;nbsp;With the specific phrase not being significant, it is 
&lt;br&gt;&amp;nbsp; &amp;nbsp; of course possible to put other phrases there if it's felt useful to 
&lt;br&gt;&amp;nbsp; &amp;nbsp; attach a natural language name to the other locations in that way.
&lt;br&gt;&lt;br&gt;Yes. &amp;nbsp;However, we could also publish a list of the phrases that GCC
&lt;br&gt;puts there, with a description of what the ranges mean. &amp;nbsp;Then an IDE
&lt;br&gt;could optionally recognize some of these phrases and do something
&lt;br&gt;special for them.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25943669.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25937262</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-17T03:56:12Z</published>
	<updated>2009-10-17T03:56:12Z</updated>
	<author>
		<name>Manuel López-Ibáñez</name>
	</author>
	<content type="html">2009/10/16 Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25937262&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; How about something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    exprs.c:47:15: error: invalid operands to binary expression ('int *' and '_Complex float')
&lt;br&gt;&amp;gt;    ::Argument locations: 47:8-47:14, 47:17-47:24
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the brace notation you've proposed becomes a de facto standard,
&lt;br&gt;&amp;gt; we may as well go along with it.  But I think this proposal
&lt;br&gt;&amp;gt; is better intrinsically, since it is less clutter and no harder to parse.
&lt;br&gt;&lt;br&gt;Is :: starting a new line? If so, I think emacs does not parse more
&lt;br&gt;than one line of GCC's output at a time. Would that change with this
&lt;br&gt;proposal?
&lt;br&gt;&lt;br&gt;Do numbers may appear in the message between :: and : ?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Manuel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25937262.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25937053</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-17T03:25:58Z</published>
	<updated>2009-10-17T03:25:58Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; However, I would like you clarify the '::Argument locations:' marker.
&lt;br&gt;&amp;nbsp; &amp;nbsp; Do you intend the double colons '::' as token to introduce
&lt;br&gt;&amp;nbsp; &amp;nbsp; some form of meta data for tools? (In this case, it is to introduce
&lt;br&gt;&amp;nbsp; &amp;nbsp; locus, but is it an escape for more general tags?)
&lt;br&gt;&lt;br&gt;Yes, exactly.
&lt;br&gt;&lt;br&gt;I don't insist on using ::. &amp;nbsp;It was the first thing that occurred to me.
&lt;br&gt;If someone has a better idea, let's use it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25937053.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25934849</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-16T14:31:21Z</published>
	<updated>2009-10-16T14:31:21Z</updated>
	<author>
		<name>Gabriel Dos Reis</name>
	</author>
	<content type="html">On Fri, Oct 16, 2009 at 4:24 PM, Joseph S. Myers
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25934849&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I was presuming that in the above the initial &amp;quot;::&amp;quot; is the signal to IDEs
&lt;br&gt;&amp;gt; or other diagnostic parsers, meaning that &amp;quot;Argument locations&amp;quot; is to be
&lt;br&gt;&amp;gt; taken as English text that should be translated to the user's language,
&lt;br&gt;&amp;gt; and so IDEs should not ascribe any significance to the specific phrase
&lt;br&gt;&amp;gt; &amp;quot;Argument locations&amp;quot; because they need to handle translations to other
&lt;br&gt;&amp;gt; languages as well.  With the specific phrase not being significant, it is
&lt;br&gt;&amp;gt; of course possible to put other phrases there if it's felt useful to
&lt;br&gt;&amp;gt; attach a natural language name to the other locations in that way.
&lt;br&gt;&lt;br&gt;Thanks, this is what I was looking for.
&lt;br&gt;&lt;br&gt;In that case, I think I agree with the suggestion made by RMS.
&lt;br&gt;&lt;br&gt;-- Gaby
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25934849.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25934850</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-16T14:24:23Z</published>
	<updated>2009-10-16T14:24:23Z</updated>
	<author>
		<name>Joseph S. Myers</name>
	</author>
	<content type="html">On Fri, 16 Oct 2009, Chris Lattner wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Oct 16, 2009, at 9:51 AM, Gabriel Dos Reis wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On Fri, Oct 16, 2009 at 3:47 AM, Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25934850&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; How about something like this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; exprs.c:47:15: error: invalid operands to binary expression ('int *' and
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; '_Complex float')
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; ::Argument locations: 47:8-47:14, 47:17-47:24
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; If the brace notation you've proposed becomes a de facto standard,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; we may as well go along with it. &amp;nbsp;But I think this proposal
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; is better intrinsically, since it is less clutter and no harder to parse.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I like the non-braced version.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; However, I would like you clarify the '::Argument locations:' marker.
&lt;br&gt;&amp;gt; &amp;gt; Do you intend the double colons '::' as token to introduce
&lt;br&gt;&amp;gt; &amp;gt; some form of meta data for tools? (In this case, it is to introduce
&lt;br&gt;&amp;gt; &amp;gt; locus, but is it an escape for more general tags?)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; FWIW, clang uses ranges for a lot of things other than arguments.
&lt;/div&gt;&lt;br&gt;I was presuming that in the above the initial &amp;quot;::&amp;quot; is the signal to IDEs 
&lt;br&gt;or other diagnostic parsers, meaning that &amp;quot;Argument locations&amp;quot; is to be 
&lt;br&gt;taken as English text that should be translated to the user's language, 
&lt;br&gt;and so IDEs should not ascribe any significance to the specific phrase 
&lt;br&gt;&amp;quot;Argument locations&amp;quot; because they need to handle translations to other 
&lt;br&gt;languages as well. &amp;nbsp;With the specific phrase not being significant, it is 
&lt;br&gt;of course possible to put other phrases there if it's felt useful to 
&lt;br&gt;attach a natural language name to the other locations in that way.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joseph S. Myers
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25934850&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25934850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25934848</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-16T13:43:53Z</published>
	<updated>2009-10-16T13:43:53Z</updated>
	<author>
		<name>Chris Lattner-2</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 16, 2009, at 9:51 AM, Gabriel Dos Reis wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Oct 16, 2009 at 3:47 AM, Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25934848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; How about something like this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;exprs.c:47:15: error: invalid operands to binary expression &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; ('int *' and '_Complex float')
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;::Argument locations: 47:8-47:14, 47:17-47:24
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If the brace notation you've proposed becomes a de facto standard,
&lt;br&gt;&amp;gt;&amp;gt; we may as well go along with it. &amp;nbsp;But I think this proposal
&lt;br&gt;&amp;gt;&amp;gt; is better intrinsically, since it is less clutter and no harder to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; parse.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I like the non-braced version.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I would like you clarify the '::Argument locations:' marker.
&lt;br&gt;&amp;gt; Do you intend the double colons '::' as token to introduce
&lt;br&gt;&amp;gt; some form of meta data for tools? (In this case, it is to introduce
&lt;br&gt;&amp;gt; locus, but is it an escape for more general tags?)
&lt;/div&gt;&lt;br&gt;FWIW, clang uses ranges for a lot of things other than arguments.
&lt;br&gt;&lt;br&gt;Here are some other examples:
&lt;br&gt;&lt;br&gt;$ clang -fsyntax-only t.c
&lt;br&gt;&amp;nbsp; &amp;nbsp;t.c:12:8: error: called object type 'int' is not a function or &amp;nbsp;
&lt;br&gt;function pointer
&lt;br&gt;&amp;nbsp; &amp;nbsp;(P-Q)();
&lt;br&gt;&amp;nbsp; &amp;nbsp;~~~~~^
&lt;br&gt;$ clang t.c
&lt;br&gt;t.c:5:28: warning: use of GNU old-style field designator extension
&lt;br&gt;struct point origin = { x: 0.0, y: 0.0 };
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~ ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.x =
&lt;br&gt;&lt;br&gt;This is probably mangled by my email client, but you can see examples &amp;nbsp;
&lt;br&gt;as intended here:
&lt;br&gt;&lt;a href=&quot;http://clang.llvm.org/diagnostics.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clang.llvm.org/diagnostics.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The brace sequence is not normally seen by humans, only by IDEs and &amp;nbsp;
&lt;br&gt;tools. &amp;nbsp;It being terse and simple is important, but beauty is not very &amp;nbsp;
&lt;br&gt;important.
&lt;br&gt;&lt;br&gt;-Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25934848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25934847</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-16T09:51:52Z</published>
	<updated>2009-10-16T09:51:52Z</updated>
	<author>
		<name>Gabriel Dos Reis-6</name>
	</author>
	<content type="html">On Fri, Oct 16, 2009 at 3:47 AM, Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25934847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; How about something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    exprs.c:47:15: error: invalid operands to binary expression ('int *' and '_Complex float')
&lt;br&gt;&amp;gt;    ::Argument locations: 47:8-47:14, 47:17-47:24
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the brace notation you've proposed becomes a de facto standard,
&lt;br&gt;&amp;gt; we may as well go along with it.  But I think this proposal
&lt;br&gt;&amp;gt; is better intrinsically, since it is less clutter and no harder to parse.
&lt;br&gt;&lt;br&gt;I like the non-braced version.
&lt;br&gt;&lt;br&gt;However, I would like you clarify the '::Argument locations:' marker.
&lt;br&gt;Do you intend the double colons '::' as token to introduce
&lt;br&gt;some form of meta data for tools? (In this case, it is to introduce
&lt;br&gt;locus, but is it an escape for more general tags?)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25934847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25927807</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-16T01:47:58Z</published>
	<updated>2009-10-16T01:47:58Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">How about something like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; exprs.c:47:15: error: invalid operands to binary expression ('int *' and '_Complex float')
&lt;br&gt;&amp;nbsp; &amp;nbsp; ::Argument locations: 47:8-47:14, 47:17-47:24
&lt;br&gt;&lt;br&gt;If the brace notation you've proposed becomes a de facto standard,
&lt;br&gt;we may as well go along with it. &amp;nbsp;But I think this proposal
&lt;br&gt;is better intrinsically, since it is less clutter and no harder to parse.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25927807.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25910776</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-15T08:32:03Z</published>
	<updated>2009-10-15T08:32:03Z</updated>
	<author>
		<name>Manuel López-Ibáñez</name>
	</author>
	<content type="html">2009/10/15 Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910776&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;    In principle the location range information would be only internal for
&lt;br&gt;&amp;gt;    GCC. The option that enables it to be shown in the output would allow
&lt;br&gt;&amp;gt;    external programs (like emacs, IDEs, a custom wrapper, or GCC's
&lt;br&gt;&amp;gt;    regression tester) to parse the output of GCC. In fact, what such
&lt;br&gt;&amp;gt;    programs would do is to turn OFF the caret information and turn ON the
&lt;br&gt;&amp;gt;    location range information, in order to provide their own custom caret
&lt;br&gt;&amp;gt;    information.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Given that plan, why not output the arg location information
&lt;br&gt;&amp;gt; in separate lines distinguished by some special prefix?
&lt;/div&gt;&lt;br&gt;Could you provide an example of what you have in mind? For example, to
&lt;br&gt;represent this:
&lt;br&gt;&lt;br&gt;exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands
&lt;br&gt;&amp;nbsp; to binary expression ('int *' and '_Complex float')
&lt;br&gt;&lt;br&gt;Please bear in mind that the format should be easily parsable by
&lt;br&gt;machines, in order to be able to associate the ranges with the
&lt;br&gt;appropriate error message, and not parse it as multiple independent
&lt;br&gt;messages.
&lt;br&gt;&lt;br&gt;&amp;gt;    &amp;gt; How exactly do people propose to use that location range information?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    As far as I know, at least one IDE is using it to parse the output of
&lt;br&gt;&amp;gt;    Clang and provide custom caret information in the IDE interface.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you saying that clang already outputs the argument range information
&lt;br&gt;&amp;gt; in this format?
&lt;br&gt;&lt;br&gt;Yes, it does if this is enabled usng the appropriate option.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Manuel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25910776.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25909632</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-14T21:17:44Z</published>
	<updated>2009-10-14T21:17:44Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; In principle the location range information would be only internal for
&lt;br&gt;&amp;nbsp; &amp;nbsp; GCC. The option that enables it to be shown in the output would allow
&lt;br&gt;&amp;nbsp; &amp;nbsp; external programs (like emacs, IDEs, a custom wrapper, or GCC's
&lt;br&gt;&amp;nbsp; &amp;nbsp; regression tester) to parse the output of GCC. In fact, what such
&lt;br&gt;&amp;nbsp; &amp;nbsp; programs would do is to turn OFF the caret information and turn ON the
&lt;br&gt;&amp;nbsp; &amp;nbsp; location range information, in order to provide their own custom caret
&lt;br&gt;&amp;nbsp; &amp;nbsp; information.
&lt;br&gt;&lt;br&gt;Given that plan, why not output the arg location information
&lt;br&gt;in separate lines distinguished by some special prefix?
&lt;br&gt;&lt;br&gt;Standardizing its format could be useful at some point,
&lt;br&gt;but it need not be part of the error message standard.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;gt; How exactly do people propose to use that location range information?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; As far as I know, at least one IDE is using it to parse the output of
&lt;br&gt;&amp;nbsp; &amp;nbsp; Clang and provide custom caret information in the IDE interface.
&lt;br&gt;&lt;br&gt;Are you saying that clang already outputs the argument range information
&lt;br&gt;in this format?
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25909632.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25888847</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-14T03:47:54Z</published>
	<updated>2009-10-14T03:47:54Z</updated>
	<author>
		<name>Manuel López-Ibáñez</name>
	</author>
	<content type="html">2009/10/14 Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25888847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;    The goal here is to work towards supporting caret information in GCC
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What is &amp;quot;caret information&amp;quot;?
&lt;br&gt;&lt;br&gt;I would say that it is the ability to print, in diagnostic messages,
&lt;br&gt;parts of the original source code indicating exactly which parts of
&lt;br&gt;the source code the diagnostic is referring to.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands
&lt;br&gt;&amp;gt;    to binary expression ('int *' and '_Complex float')
&lt;br&gt;&amp;gt;           P = (P-42) + Gamma*4;
&lt;br&gt;&amp;gt;               ~~~~~~ ^ ~~~~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is that what &amp;quot;caret information&amp;quot; means?
&lt;br&gt;&lt;br&gt;The line of code with the '~~' and '^' below is the caret information.
&lt;br&gt;The {47:8-47:14}{47:17-47:24} would be the &amp;quot;location range&amp;quot; information.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can see how this
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;           P = (P-42) + Gamma*4;
&lt;br&gt;&amp;gt;               ~~~~~~ ^ ~~~~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is useful for humans, and making GCC output that information
&lt;br&gt;&amp;gt; seems like a good feature.  But why is it useful to include
&lt;br&gt;&amp;gt; the location range information for the operands?
&lt;br&gt;&lt;br&gt;In principle the location range information would be only internal for
&lt;br&gt;GCC. The option that enables it to be shown in the output would allow
&lt;br&gt;external programs (like emacs, IDEs, a custom wrapper, or GCC's
&lt;br&gt;regression tester) to parse the output of GCC. In fact, what such
&lt;br&gt;programs would do is to turn OFF the caret information and turn ON the
&lt;br&gt;location range information, in order to provide their own custom caret
&lt;br&gt;information.
&lt;br&gt;&lt;br&gt;I really do not know if this format actually needs documenting in
&lt;br&gt;Coding Standards, since it is not really meant for humans. I can also
&lt;br&gt;update the patch to mention that this format is to be parsed by
&lt;br&gt;machines, and it should not be used for output meant to be read by
&lt;br&gt;humans (unless requested).
&lt;br&gt;&lt;br&gt;&amp;gt; How exactly do people propose to use that location range information?
&lt;br&gt;&lt;br&gt;As far as I know, at least one IDE is using it to parse the output of
&lt;br&gt;Clang and provide custom caret information in the IDE interface.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Manuel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25888847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25886463</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-13T17:43:58Z</published>
	<updated>2009-10-13T17:43:58Z</updated>
	<author>
		<name>Richard Stallman</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; The goal here is to work towards supporting caret information in GCC
&lt;br&gt;&lt;br&gt;What is &amp;quot;caret information&amp;quot;?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands
&lt;br&gt;&amp;nbsp; &amp;nbsp; to binary expression ('int *' and '_Complex float')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P = (P-42) + Gamma*4;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~~~~~ ^ ~~~~~~~
&lt;br&gt;&lt;br&gt;Is that what &amp;quot;caret information&amp;quot; means?
&lt;br&gt;&lt;br&gt;I can see how this
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P = (P-42) + Gamma*4;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~~~~~ ^ ~~~~~~~
&lt;br&gt;&lt;br&gt;is useful for humans, and making GCC output that information
&lt;br&gt;seems like a good feature. &amp;nbsp;But why is it useful to include
&lt;br&gt;the location range information for the operands?
&lt;br&gt;&lt;br&gt;How exactly do people propose to use that location range information?
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25886463.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25871016</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-13T04:09:47Z</published>
	<updated>2009-10-13T04:09:47Z</updated>
	<author>
		<name>Manuel López-Ibáñez</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;  Date: Sun, 11 Oct 2009 23:44:45 -0400
&lt;br&gt;&amp;gt;  From: Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25871016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;  To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25871016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;karl@...&lt;/a&gt; (Karl Berry)
&lt;br&gt;&amp;gt;  Subject: Re: [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25871016&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lopezibanez@...&lt;/a&gt;: error messages with ranges]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  I think this is not a good idea.
&lt;br&gt;&amp;gt;  Putting multiple locations in one error message is not helpful
&lt;br&gt;&amp;gt;  and makes it harder to read.
&lt;br&gt;&amp;gt;  There are situations where GCC needs to mention two different
&lt;br&gt;&amp;gt;  places in the source -- for instance, two conflicting declarations
&lt;br&gt;&amp;gt;  for one symbol.  It does this by issuing two error messages, one
&lt;br&gt;&amp;gt;  with each location.  The text states how they are related.
&lt;/div&gt;&lt;br&gt;This is a different situation that is orthogonal to mentioning two
&lt;br&gt;different places.
&lt;br&gt;&lt;br&gt;First, this option will be default to off. Second, this information
&lt;br&gt;will be primarily parsed by programs not humans.
&lt;br&gt;&lt;br&gt;The goal here is to work towards supporting caret information in GCC
&lt;br&gt;(as Clang and other compilers currently support and use as a major
&lt;br&gt;selling point).
&lt;br&gt;&lt;br&gt;An example from Clang's webpage [1]:
&lt;br&gt;&lt;br&gt;&amp;nbsp;$ gcc-4.2 -fsyntax-only t.c
&lt;br&gt;&amp;nbsp;t.c:7: error: invalid operands to binary + (have 'int' and 'struct A')
&lt;br&gt;&amp;nbsp;$ clang -fsyntax-only t.c
&lt;br&gt;&amp;nbsp;t.c:7:39: error: invalid operands to binary expression ('int' and 'struct A')
&lt;br&gt;&amp;nbsp; &amp;nbsp;return y + func(y ? ((SomeA.X + 40) + SomeA) / 42 + SomeA.X : SomeA.X);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~~~~~~~~~~~~~ ^ ~~~~~
&lt;br&gt;&lt;br&gt;The caret '^' and the ranges shown by ~~~~~ &amp;nbsp;are generated the
&lt;br&gt;compiler (clang in this case). A fist step towards implementing this
&lt;br&gt;is to have an option that prints range information in the location
&lt;br&gt;line. This allows programs to parse gcc output and generate a wrapper
&lt;br&gt;around gcc that provides caret diagnostics. This is already done by at
&lt;br&gt;least one IDE to provide caret diagnostics using Clang. This also
&lt;br&gt;allows developers to debug the range information in case the ranges
&lt;br&gt;are not printed where they are expected.
&lt;br&gt;&lt;br&gt;In short, the goal is to implement in GCC, this option from Clang:
&lt;br&gt;&lt;br&gt;-f[no-]diagnostics-print-source-range-info: Print machine parsable
&lt;br&gt;information about source ranges.
&lt;br&gt;&amp;nbsp; &amp;nbsp; This option, which defaults to off, controls whether or not Clang
&lt;br&gt;prints information about source ranges in a machine parsable format
&lt;br&gt;after the file/line/column number information. The information is a
&lt;br&gt;simple sequence of brace enclosed ranges, where each range lists the
&lt;br&gt;start and end line/column locations. For example, in this output:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands
&lt;br&gt;to binary expression ('int *' and '_Complex float')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P = (P-42) + Gamma*4;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;~~~~~~ ^ ~~~~~~~
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; The {}'s are generated by -fdiagnostics-print-source-range-info.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I can certainly update the patch to mention that this format should be
&lt;br&gt;avoided for output that is meant to be read mainly by humans, and in
&lt;br&gt;such case a single location or multiple errors are preferred.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Manuel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://clang.llvm.org/diagnostics.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clang.llvm.org/diagnostics.html&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25871016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25864761</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-12T16:14:00Z</published>
	<updated>2009-10-12T16:14:00Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">Hi Manuel,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; This is a patch to standards.texi to specify error messages with
&lt;br&gt;&amp;nbsp; &amp;nbsp; multiple ranges. 
&lt;br&gt;&lt;br&gt;Here is rms's response:
&lt;br&gt;&lt;br&gt;&amp;nbsp; Date: Sun, 11 Oct 2009 23:44:45 -0400
&lt;br&gt;&amp;nbsp; From: Richard Stallman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25864761&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rms@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25864761&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;karl@...&lt;/a&gt; (Karl Berry)
&lt;br&gt;&amp;nbsp; Subject: Re: [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25864761&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lopezibanez@...&lt;/a&gt;: error messages with ranges]
&lt;br&gt;&lt;br&gt;&amp;nbsp; I think this is not a good idea.
&lt;br&gt;&amp;nbsp; Putting multiple locations in one error message is not helpful
&lt;br&gt;&amp;nbsp; and makes it harder to read.
&lt;br&gt;&lt;br&gt;&amp;nbsp; There are situations where GCC needs to mention two different
&lt;br&gt;&amp;nbsp; places in the source -- for instance, two conflicting declarations
&lt;br&gt;&amp;nbsp; for one symbol. &amp;nbsp;It does this by issuing two error messages, one
&lt;br&gt;&amp;nbsp; with each location. &amp;nbsp;The text states how they are related.
&lt;br&gt;&lt;br&gt;&amp;nbsp; In practice this is perfectly clear and convenient. &amp;nbsp;Putting them in a
&lt;br&gt;&amp;nbsp; single error message would make it harder to read.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Please ask the Clang and GCC developers to state the practical
&lt;br&gt;&amp;nbsp; advantages they see in this new format.
&lt;br&gt;&lt;br&gt;You might as well send your replies directly to him. &amp;nbsp;I don't need to be
&lt;br&gt;in this loop (and I'll be offline the rest of this week).
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25864761.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25848260</id>
	<title>Re: error messages with ranges</title>
	<published>2009-10-11T15:26:55Z</published>
	<updated>2009-10-11T15:26:55Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; This is a patch to standards.texi to specify error messages with
&lt;br&gt;&amp;nbsp; &amp;nbsp; multiple ranges. 
&lt;br&gt;&lt;br&gt;Thanks, fine by me. &amp;nbsp;I have forwarded it to rms for approval.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25848260.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25843372</id>
	<title>error messages with ranges</title>
	<published>2009-10-11T05:48:48Z</published>
	<updated>2009-10-11T05:48:48Z</updated>
	<author>
		<name>Manuel López-Ibáñez</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;This is a patch to standards.texi to specify error messages with
&lt;br&gt;multiple ranges. Currently, Clang implements this [1] and GCC would
&lt;br&gt;like to implement it too [2].
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;&amp;nbsp;Manuel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics&lt;/a&gt;&amp;nbsp;(option
&lt;br&gt;-f[no-]diagnostics-print-source-range-info)
&lt;br&gt;&lt;br&gt;[2] &lt;a href=&quot;http://gcc.gnu.org/ml/gcc-patches/2009-08/msg00201.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/ml/gcc-patches/2009-08/msg00201.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2009-10-10  Manuel López-Ibáñez &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25843372&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manu@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt; * standard.texi (Error Messages): Describe error ranges.
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[ranges.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -Naurp standards-orig/standards.texi standards/standards.texi
&lt;br&gt;--- standards-orig/standards.texi	2009-04-17 00:46:07.000000000 +0200
&lt;br&gt;+++ standards/standards.texi	2009-10-10 13:35:31.000000000 +0200
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp;@setfilename standards.info
&lt;br&gt;&amp;nbsp;@settitle GNU Coding Standards
&lt;br&gt;&amp;nbsp;@c This date is automagically updated when you save this file:
&lt;br&gt;-@set lastupdate April 16, 2009
&lt;br&gt;+@set lastupdate October 10, 2009
&lt;br&gt;&amp;nbsp;@c %**end of header
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;@dircategory GNU organization
&lt;br&gt;@@ -760,6 +760,16 @@ When an error is spread over several fil
&lt;br&gt;&amp;nbsp;@var{file-1}:@var{lineno-1}.@var{column-1}-@var{file-2}:@var{lineno-2}.@var{column-2}: @var{message}
&lt;br&gt;&amp;nbsp;@end example
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+@noindent
&lt;br&gt;+When an error message mentions several ranges of positions within one
&lt;br&gt;+file, you can specify each range within braces. For example, the
&lt;br&gt;+following specifies one error position and two ranges within the same
&lt;br&gt;+file:
&lt;br&gt;+
&lt;br&gt;+@example
&lt;br&gt;+@var{file-1}:@var{lineno-1}:@var{column-1}:@{@var{lineno-2}:@var{column-2}-@var{lineno-3}:@var{column-3}@}@{@var{lineno-4}:@var{column-4}-@var{lineno-5}:@var{column-5}@}: @var{message}
&lt;br&gt;+@end example
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;Error messages from other noninteractive programs should look like this:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;@example
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25843372.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25843371</id>
	<title>error messages with ranges</title>
	<published>2009-10-10T04:43:19Z</published>
	<updated>2009-10-10T04:43:19Z</updated>
	<author>
		<name>Manuel López-Ibáñez</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;This is a patch to standards.texi to specify error messages with
&lt;br&gt;multiple ranges. Currently, Clang implements this [1] and GCC would
&lt;br&gt;like to implement it too [2].
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clang.llvm.org/docs/UsersManual.html#cl_diagnostics&lt;/a&gt;&amp;nbsp;(option
&lt;br&gt;-f[no-]diagnostics-print-source-range-info)
&lt;br&gt;&lt;br&gt;[2] &lt;a href=&quot;http://gcc.gnu.org/ml/gcc-patches/2009-08/msg00201.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/ml/gcc-patches/2009-08/msg00201.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2009-10-10 &amp;nbsp;Manuel López-Ibáñez &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25843371&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manu@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; * standard.texi (Error Messages): Describe error ranges.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;&amp;nbsp; Manuel.
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[ranges.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -Naurp standards-orig/standards.texi standards/standards.texi
&lt;br&gt;--- standards-orig/standards.texi	2009-04-17 00:46:07.000000000 +0200
&lt;br&gt;+++ standards/standards.texi	2009-10-10 13:35:31.000000000 +0200
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp;@setfilename standards.info
&lt;br&gt;&amp;nbsp;@settitle GNU Coding Standards
&lt;br&gt;&amp;nbsp;@c This date is automagically updated when you save this file:
&lt;br&gt;-@set lastupdate April 16, 2009
&lt;br&gt;+@set lastupdate October 10, 2009
&lt;br&gt;&amp;nbsp;@c %**end of header
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;@dircategory GNU organization
&lt;br&gt;@@ -760,6 +760,16 @@ When an error is spread over several fil
&lt;br&gt;&amp;nbsp;@var{file-1}:@var{lineno-1}.@var{column-1}-@var{file-2}:@var{lineno-2}.@var{column-2}: @var{message}
&lt;br&gt;&amp;nbsp;@end example
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+@noindent
&lt;br&gt;+When an error message mentions several ranges of positions within one
&lt;br&gt;+file, you can specify each range within braces. For example, the
&lt;br&gt;+following specifies one error position and two ranges within the same
&lt;br&gt;+file:
&lt;br&gt;+
&lt;br&gt;+@example
&lt;br&gt;+@var{file-1}:@var{lineno-1}:@var{column-1}:@{@var{lineno-2}:@var{column-2}-@var{lineno-3}:@var{column-3}@}@{@var{lineno-4}:@var{column-4}-@var{lineno-5}:@var{column-5}@}: @var{message}
&lt;br&gt;+@end example
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;Error messages from other noninteractive programs should look like this:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;@example
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-messages-with-ranges-tp25843371p25843371.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24332360</id>
	<title>Re: $(datarootdir) should be $(datadir)</title>
	<published>2009-07-04T01:23:57Z</published>
	<updated>2009-07-04T01:23:57Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;* Karl Berry wrote on Fri, Jul 03, 2009 at 11:56:42PM CEST:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; In section 7.2.5, when the 'datadir' directory is discussed, this
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; sentence appears:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;This should normally be /usr/local/share, but write it as
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $(datarootdir). (If you are using Autoconf, write it as '@datadir@')&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $(datarootdir) should be $(datadir), given the section it's in.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the report. &amp;nbsp;I think you are right,
&lt;br&gt;&lt;br&gt;No, I don't think he is right. &amp;nbsp;Going through the other descriptions:
&lt;br&gt;&amp;nbsp; bindir should be written as $(exec_prefix)/bin,
&lt;br&gt;&amp;nbsp; datarootdir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;as $(prefix)/share,
&lt;br&gt;&amp;nbsp; datadir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;as $(datarootdir),
&lt;br&gt;&lt;br&gt;which is at least consistent.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%24%28datarootdir%29-should-be-%24%28datadir%29-tp24325974p24332360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24329275</id>
	<title>Re: $(datarootdir) should be $(datadir)</title>
	<published>2009-07-03T14:56:42Z</published>
	<updated>2009-07-03T14:56:42Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; In section 7.2.5, when the 'datadir' directory is discussed, this
&lt;br&gt;&amp;nbsp; &amp;nbsp; sentence appears:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;This should normally be /usr/local/share, but write it as
&lt;br&gt;&amp;nbsp; &amp;nbsp; $(datarootdir). (If you are using Autoconf, write it as '@datadir@')&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $(datarootdir) should be $(datadir), given the section it's in.
&lt;br&gt;&lt;br&gt;Thanks for the report. &amp;nbsp;I think you are right, although given the
&lt;br&gt;always-confusing situation datadir and datarootdir, I can't say I'm 100%
&lt;br&gt;sure. &amp;nbsp;Can anyone else here confirm/deny?
&lt;br&gt;&lt;br&gt;I'll think about it and either make the change or insert an explanation.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Karl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%24%28datarootdir%29-should-be-%24%28datadir%29-tp24325974p24329275.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24325974</id>
	<title>$(datarootdir) should be $(datadir)</title>
	<published>2009-07-03T08:17:00Z</published>
	<updated>2009-07-03T08:17:00Z</updated>
	<author>
		<name>jakykong</name>
	</author>
	<content type="html">In section 7.2.5, when the 'datadir' directory is discussed, this
&lt;br&gt;sentence appears:
&lt;br&gt;&lt;br&gt;&amp;quot;This should normally be /usr/local/share, but write it as
&lt;br&gt;$(datarootdir). (If you are using Autoconf, write it as '@datadir@')&amp;quot;
&lt;br&gt;&lt;br&gt;$(datarootdir) should be $(datadir), given the section it's in.
&lt;br&gt;&lt;br&gt;Hope it helps!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%24%28datarootdir%29-should-be-%24%28datadir%29-tp24325974p24325974.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23088095</id>
	<title>Re: COPYING.LIB vs COPYING.LESSER</title>
	<published>2009-04-16T15:54:44Z</published>
	<updated>2009-04-16T15:54:44Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Standards states in section 7.3 that it should be in a file called
&lt;br&gt;&amp;nbsp; &amp;nbsp; COPYING.LIB. &amp;nbsp;Suggest changing this to COPYING.LESSER 
&lt;br&gt;&lt;br&gt;Right. &amp;nbsp;Fixed. &amp;nbsp;Thanks for the patch :).
&lt;br&gt;&lt;br&gt;karl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPYING.LIB-vs-COPYING.LESSER-tp23069636p23088095.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23069636</id>
	<title>COPYING.LIB vs COPYING.LESSER</title>
	<published>2009-04-15T13:57:53Z</published>
	<updated>2009-04-15T13:57:53Z</updated>
	<author>
		<name>sward</name>
	</author>
	<content type="html">The GPL Howto and the maintain manual both suggest use of COPYING.LESSER
&lt;br&gt;in a project for software licensed under the LGPL, while the GNU Coding
&lt;br&gt;Standards states in section 7.3 that it should be in a file called
&lt;br&gt;COPYING.LIB. &amp;nbsp;Suggest changing this to COPYING.LESSER in line with the
&lt;br&gt;other documents and to reflect the name change from GNU Library GPL to
&lt;br&gt;GNU Lesser GPL. &amp;nbsp;(Very small ☺) patch attached.
&lt;br&gt;&lt;br&gt;Simon Ward
&lt;br&gt;-- 
&lt;br&gt;A complex system that works is invariably found to have evolved from a
&lt;br&gt;simple system that works.—John Gall
&lt;br&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: standards.texi
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /sources/gnustandards/gnustandards/standards.texi,v
&lt;br&gt;retrieving revision 1.185
&lt;br&gt;diff -u -r1.185 standards.texi
&lt;br&gt;--- standards.texi	14 Feb 2009 15:23:01 -0000	1.185
&lt;br&gt;+++ standards.texi	15 Apr 2009 20:50:17 -0000
&lt;br&gt;@@ -4041,7 +4041,7 @@
&lt;br&gt;&amp;nbsp;The @file{README} file should also refer to the file which contains the
&lt;br&gt;&amp;nbsp;copying conditions. &amp;nbsp;The GNU GPL, if used, should be in a file called
&lt;br&gt;&amp;nbsp;@file{COPYING}. &amp;nbsp;If the GNU LGPL is used, it should be in a file called
&lt;br&gt;-@file{COPYING.LIB}.
&lt;br&gt;+@file{COPYING.LESSER}.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;Naturally, all the source files must be in the distribution. &amp;nbsp;It is okay
&lt;br&gt;&amp;nbsp;to include non-source files in the distribution, provided they are
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/23069636/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;signature&quot;&gt;A complex system that works is invariably found to have evolved from a simple system that works.—John Gall&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPYING.LIB-vs-COPYING.LESSER-tp23069636p23069636.html" />
</entry>

</feed>
