[MacPorts] #33032: tesseract: build failure because ccutil/strngs.h has UTF-8 BOM (was: tesseract: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h)

MacPorts noreply at macports.org
Thu Jan 26 19:39:13 PST 2012


#33032: tesseract: build failure because ccutil/strngs.h has UTF-8 BOM
-------------------------+--------------------------------------------------
 Reporter:  jlg@…        |       Owner:  emer@…       
     Type:  defect       |      Status:  new          
 Priority:  Normal       |   Milestone:               
Component:  ports        |     Version:  2.0.3        
 Keywords:               |        Port:  tesseract    
-------------------------+--------------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 That stray character is the
 [http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8 UTF-8 BOM], and I
 agree, a BOM does not belong in source files. The gcc-4.2 on my Snow
 Leopard Mac didn't complain about it; I guess it's the gcc-4.0 that's on
 Leopard and Tiger that's not happy about it. We can remove the BOM easily
 enough.

-- 
Ticket URL: <https://trac.macports.org/ticket/33032#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list