This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling strings with nonascii chars.


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 ../otherlibs
/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 _ = print_DEBUG "Fin du chargement dynamique éventuel"


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

Thanks in advance,

    -EdK

Ed Keith
e_d_k@yahoo.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]