Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006080OCamlOCaml generalpublic2013-07-17 13:322014-07-17 16:56
Reporterdoligez 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformallOSOS Version
Product Version4.01.0+dev 
Target Version4.02.1+devFixed in Version 
Summary0006080: Some error and warning messages are not in the standard format.
DescriptionIn some cases, the compiler prints errors or warnings in a format that is not recognized by emacs. For example:

$ ocamlc -pp false foo.ml
Error while running external preprocessor
Command line: false 'foo.ml' > /tmp/ocamlppa92222

$ ocamlc -unsafe -pp camlp4o foo.ml
Warning: option -unsafe used with a preprocessor returning a syntax tree

This is bad because such messages get lost in make's log and then you don't even know that something went wrong.


A related problem, the functions Misc.fatal_error and Compenv.fatal are redundant (and they both do it wrong).
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-07-17 13:32 doligez New Issue
2013-07-17 16:52 doligez Severity minor => text
2013-07-17 16:52 doligez Status new => acknowledged
2013-10-08 16:49 doligez Severity text => minor
2013-10-08 16:49 doligez Status acknowledged => confirmed
2013-10-08 16:49 doligez Target Version 4.02.0+dev => 4.01.1+dev
2014-05-25 20:20 doligez Target Version 4.01.1+dev => 4.02.0+dev
2014-07-17 16:56 doligez Target Version 4.02.0+dev => 4.02.1+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker