bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jeffrey Goeders
Subject: [bug #36529] UTF-8 with BOM causes a non-descriptive error
Date: Tue, 22 May 2012 20:51:26 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5

URL:
  <http://savannah.gnu.org/bugs/?36529>

                 Summary: UTF-8 with BOM causes a non-descriptive error
                 Project: make
            Submitted by: jgoeders
            Submitted on: Tue 22 May 2012 08:51:25 PM GMT
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36529>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]