caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] camlidl and cpp
@ 2003-10-16  8:50 Issac Trotts
  0 siblings, 0 replies; only message in thread
From: Issac Trotts @ 2003-10-16  8:50 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-16  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16  8:50 [Caml-list] camlidl and cpp Issac Trotts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).