Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] camlidl and cpp
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Issac Trotts <ijtrotts@u...>
Subject: [Caml-list] camlidl and cpp
It would be handy if camlidl would pass a "-traditional-cpp"
flag to cpp by default.  Here's an example on my Debian 3.0 box:

$ camlidl unix.idl 
unix.idl:13:11: missing terminating " character
unix.idl:43:1: missing terminating " character
unix.idl:70:5: missing terminating " character
unix.idl:72:58: missing terminating " character
unix.idl:78:5: missing terminating " character
unix.idl:79:41: missing terminating " character
unix.idl:104:5: missing terminating " character
unix.idl:151:5: missing terminating " character
unix.idl: error during preprocessing

$ camlidl -prepro "cpp -traditional-cpp" unix.idl

The second way works just fine.  Documenting this could prevent some
confusion.

Issac Trotts

-- 

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners