aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cerrors.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-08-31 16:36:39 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-08-31 16:36:39 +0200
commit8763a45b8a5c6d51d53795573179ba66e479f288 (patch)
treea110a9e65ab1361ac605b127c9479397e5df918c /cparser/Cerrors.mli
parentc7ea6ababa7e57a3b9c529cfc0617072eaed0701 (diff)
downloadcompcert-8763a45b8a5c6d51d53795573179ba66e479f288.tar.gz
compcert-8763a45b8a5c6d51d53795573179ba66e479f288.zip
Added conformance warning.
This warning should be triggered if a feature is used that is not part of the code CompCert C language. Bug 18004
Diffstat (limited to 'cparser/Cerrors.mli')
-rw-r--r--cparser/Cerrors.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Cerrors.mli b/cparser/Cerrors.mli
index b547188a..1ef8bb21 100644
--- a/cparser/Cerrors.mli
+++ b/cparser/Cerrors.mli
@@ -43,6 +43,7 @@ type warning_type =
| Return_type (** void return in non-void function *)
| Literal_range (** literal ranges *)
| Unknown_pragmas (** unknown/unsupported pragma *)
+ | CompCert_conformance (** features that are not part of the CompCert C core language *)
val warning : (string * int) -> warning_type -> ('a, Format.formatter, unit, unit, unit, unit) format6 -> 'a
(** [warning (f,c) w fmt arg1 ... argN] formats the arguments [arg1] to [argN] as warining according to