[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#267205: libc6-dev: /usr/include/gnu/stubs.h uses non-portable whitespace

reassign 267205 xutils
retitle 267205 xutils: [makedepend] spuriously complains about standards-compliant whitespace being non-portable
tag 267205 = upstream

On Mon, Aug 23, 2004 at 05:01:12PM +0900, GOTO Masanori wrote:
> Falk Hueffner wrote:
> > The C standard does not require this, nor does any cpp in the real
> > world for 10 years, so IMHO you should rather fix makedepend.
> Correct.  ISO C99 6.10 Preprocessing directives, Description:
> 	A preprocessing directive consists of a sequence of
> 	preprocessing tokens that begins with a # preprocessing token
> 	that (at the start of translation phase 4) is either the first
> 	character in the source file (optionally after white space
> 	containing no new-line characters) or that follows white space
> 	containing at least one new-line character, and is ended by
> 	the next new-line character.129)
> It's not even bug.  Branden, are you OK to reassign this report to
> X11, or to close it?

On Wed, Aug 25, 2004 at 01:46:25PM +0900, GOTO Masanori wrote:
> At Tue, 24 Aug 2004 15:40:23 +0200,
> Falk Hueffner wrote:
> > [Christoph Hellwig wrote:]
> > > Also #error is a GNU extension anyway
> Even if #error is an extension, the directive syntax should be
> confirmed with the above mention.
> > No, it's not.
> Falk is also correct.  ISO C99 6.10 Preprocessing directives, Syntax:
> 	control-line:
> 		# include pp-tokens new-line
> 		...
> 		# error pp-tokens_opt new-line

I am reassigning this bug.  Thanks for the citations.  :)

There are situations where being standards-compliant and portable are
conflicting aims, but I don't think this is one of them, at least for the
Debian system.

G. Branden Robinson                |    There is no housing shortage in
Debian GNU/Linux                   |    Lincoln today -- just a rumor that
branden@debian.org                 |    is put about by people who have
http://people.debian.org/~branden/ |    nowhere to live.    -- G. L. Murfin

Attachment: signature.asc
Description: Digital signature

Reply to: