Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006110OCamlcompiler driverpublic2013-07-30 23:532017-03-01 16:18
Assigned To 
PlatformOSOS Version
Product Version4.00.1 
Target VersionFixed in Version 
Summary0006110: -impl-suffix missing in the compiler.
DescriptionThe following patch adds the -impl-suffix option (symetrical of -intf-suffix) in the compiler.
Attached Filespatch file icon impl-suffix.patch [^] (6,587 bytes) 2013-07-30 23:53 [Show Content]

- Relationships
related to 0003725acknowledged Ocamldep should search for .mly & .mll files 

-  Notes
gasche (developer)
2013-07-31 06:45

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.
doligez (administrator)
2014-01-17 17:41

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.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker