bugmake - Bugs: bug #36529, UTF-8 with BOM causes a...

 
 

bug #36529: UTF-8 with BOM causes a non-descriptive error

Submitted by:  Jeffrey Goeders <jgoeders>
Submitted on:  Tue 22 May 2012 08:51:25 PM UTC  
 
Severity: 3 - NormalItem Group: Enhancement
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.81Operating System: POSIX-Based
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 09 Sep 2012 09:12:12 PM UTC, comment #1:

Fixed. UTF-8 BOM is ignored with no messages, but if you enable debugging a debug message is generated when this happens.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Tue 22 May 2012 08:51:25 PM UTC, original submission:

When the makefile is encoded as UTF-8 and includes a BOM (http://en.wikipedia.org/wiki/Byte_order_mark), make will error.

The error reported is non-descriptive, and makes it seem like a tab-space issue:
Makefile:1: *** missing separator. Stop.

It would be nice if make simply ignored the BOM, or reported an appropriate error.

Jeffrey Goeders <jgoeders>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by jgoeders (Submitted the item)
  • -unavailable- added by jgoeders
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Sep 2012 09:12:12 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0
    Tue 22 May 2012 08:51:25 PM UTCjgoedersCarbon-Copy-=>Added jgoeders

    Back to the top


    Powered by Savane 3.1-cleanup1