www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/21/17:03:49

Date: Tue, 21 Jun 94 16:43:16 EDT
From: jes AT mbio DOT med DOT upenn DOT edu (Joe Smith)
Posted-Date: Tue, 21 Jun 94 16:43:16 EDT
To: dj AT ctron DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: O_TEXT/O_BINARY grief

> I think the answer is "yes".  What do you expect to happen on lines
> that end in backslash-space-newline?

Rats, Open mouth, insert foot.

It's 'backslash-CR-LF' not 'backslash-LF-CR'.  So, cpp has to either
understand both kinds of 'newline' or it can (understandably) raise an
exception of some kind.  I suppose it's better to warn the user that
something may be wrong than have the compiler fail later with an
apparently unrelated error caused by a fouled-up macro.

<Joe

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019