Issue Details (XML | Word | Printable)

Key: PCC-32
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Gregory McGarry
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

Multi-line macros and CRLF line termination causes problems

Created: 14/Feb/09 06:03 AM   Updated: 14/Feb/09 10:24 AM
Component/s: C preprocessor
Affects Version/s: None
Fix Version/s: None

Environment: OS X/i386


 Description  « Hide
cpp fails to parse multi-line macros in files with CRLF line termination. These files are in projects originating from ms-dos machines. Instead, the macro is interpreted literally as \, and the rest of the macro is emitted verbatim.

#define MACRO(x,y) \^M
{ x, y}^M



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 14/Feb/09 10:24 AM
Fixed in a simple way.