|Anonymous | Login | Signup for a new account||2017-09-23 23:42 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006110||OCaml||compiler driver||public||2013-07-30 23:53||2017-03-01 16:18|
|Target Version||Fixed in Version|
|Summary||0006110: -impl-suffix missing in the compiler.|
|Description||The following patch adds the -impl-suffix option (symetrical of -intf-suffix) in the compiler.|
|Attached Files||impl-suffix.patch [^] (6,587 bytes) 2013-07-30 23:53 [Show Content]|
|The previous code accepted both .ml and .mlt (.mlt support was added in 1995 in revision 353, apparently for the profiler), while your code only accepts .ml if you haven't passed any command-line option. I'm worried that this may cause regressions in old code -- though I have no idea what the use of this suffix is and who would still use it.|
The .mlt extension is used by kaputt, but I don't think it needs the feature.
I think it was for ocamlcp to produce an intermediate file as *.mlt, then call the compiler on that. It was superseded by the use of -pp, which avoids using a file.
Since this feature is not documented, I vote for eliminating it.
|2013-07-30 23:53||vbmithr||New Issue|
|2013-07-30 23:53||vbmithr||File Added: impl-suffix.patch|
|2013-07-31 00:01||lpw25||Relationship added||related to 0003725|
|2013-07-31 06:45||gasche||Note Added: 0010035|
|2013-08-19 17:02||doligez||Severity||minor => feature|
|2013-08-19 17:02||doligez||Status||new => confirmed|
|2014-01-17 17:22||doligez||Tag Attached: patch|
|2014-01-17 17:41||doligez||Note Added: 0010808|
|2017-02-23 16:36||doligez||Category||OCaml general => -OCaml general|
|2017-03-01 16:18||doligez||Category||-OCaml general => compiler driver|
|Copyright © 2000 - 2011 MantisBT Group|