Bugs item #1008664, was opened at 2004-08-13 12:37
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1008664&group_id=8032

Category: libraries/base
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: new C preprocessor breaks ghc's build process

Initial Comment:
bash-2.03$ cat old
infix 5 \

bash-2.03$ cat -vet old
infix 5 \ $
$
bash-2.03$ cat new
infix 5 \ --

bash-2.03$ cpp-2.95 old
# 1 "old"
infix 5 \

bash-2.03$ cpp-2.95 new
# 1 "new"
infix 5 \ --

bash-2.03$ cpp-3.4.1 old
# 1 "old"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "old"
old:1:10: warning: backslash and newline separated by
space
infix 5 bash-2.03$ cpp-3.4.1 new
# 1 "new"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "new"
infix 5 \ --
bash-2.03$

The new behavior is documented in cpp.info of the
gcc-3.4.1 distribution.
Line 212 of ghc-6.2.1/libraries/base/Data/List.hs
expects the old behavior.

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2004-08-13 14:31

Message:
Logged In: YES 
user_id=48280

Coincidentally (or not?) I just fixed this today.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1008664&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to