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

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



At Tue, 24 Aug 2004 15:40:23 +0200,
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?
> >
> > 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

Regards,
-- gotom




Reply to: