This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: backslash whitespace newline


Howard Hinnant wrote:

Some programmers purposefully put trailing whitespace on their art in order to prevent translation phase 2 line splicing. And it actually works everywhere but gcc. Mind you I'm not defending this practice. I'm just reporting what happens in the field, and giving the opinion that gcc might as well adopt the same behavior as every other compiler ... even though the standards say it doesn't have to.

-Howard

Seems a weak argument to me. Changing gcc would create incompatibilities with previous behavior of gcc, and that is FAR more significant than worrying about other compilers in my opinion. Having gcc compile non-portable code accepted by other compilers is a useful goal, but one of low priority compared to maintaining compatibility as far as possible between gcc versions.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]