delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/25/16:56:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_00,URI_BLOGSPOT
X-Spam-Check-By: sourceware.org
Message-ID: <991424.15222.qm@web58902.mail.re1.yahoo.com>
Date: Mon, 25 Jan 2010 13:55:52 -0800 (PST)
From: Ed Keith <e_d_k AT yahoo DOT com>
Subject: Compiling strings with nonascii chars.
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I am trying to build ocaml on cygwin and I hit the following error:


make[1]: Entering directory `/usr/src/ocaml-3.08.1/ocamldoc'
../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I ../typing=
 -I .
./driver -I ../bytecomp -I ../tools -I ../toplevel/ -I ../stdlib -I ../othe=
rlibs
/str -I ../otherlibs/dynlink -I ../otherlibs/unix -I ../otherlibs/num -I ..=
/othe
rlibs/graph -warn-error A -c odoc.ml
File "odoc.ml", line 88, characters 8-9:
String literal not terminated
make[1]: *** [odoc.cmo] Error 2


The line in question is:


let _ =3D print_DEBUG "Fin du chargement dynamique =E9ventuel"


I have done some testing and it looks like I get an error on any string lit=
eral which contains non-ascii chars. Is there some flag needed to get gcc t=
o accept non-ascii chars?=20

Thanks in advance,

    -EdK

Ed Keith
e_d_k AT yahoo DOT com

Blog: edkeith.blogspot.com




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019