http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57714

Harald van Dijk <harald at gigawatt dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harald at gigawatt dot nl

--- Comment #11 from Harald van Dijk <harald at gigawatt dot nl> ---
(In reply to Manuel López-Ibáñez from comment #9)
> It would be an improvement if it ignored the \ between valid tokens 
> boundaries even if there is no whitespace,

Since the GCC documentation explicitly documents that no whitespace is inserted
except when necessary, as noted by David in comment #3, removing the backslash
in your example,

int foo(){\
return 0;}

would be invalid, as there was no whitespace between { and return in the
original code, and there would be after removing the backslash. It would be
valid as far as the C and C++ standards are concerned, but invalid if you also
include the documented extensions of GCC.

Could you either not suggest that the current behaviour is a bug (even if it is
a minor one) in the FAQ, or change the documentation so that it is unspecified
what that code preprocesses to?

Reply via email to