aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Bitfields.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2016-09-20 16:17:27 +0200
committerGitHub <noreply@github.com>2016-09-20 16:17:27 +0200
commitd857db508c318887463dde2039c9bfe99cdeebfa (patch)
tree8cf1d98876f4c72e624892103917be5286c95c17 /cparser/Bitfields.ml
parent99554c986d023d00192eb3d1fbfe1c0cc138596e (diff)
parent20f226ce463221032238895264c73d2207bf31d8 (diff)
downloadcompcert-d857db508c318887463dde2039c9bfe99cdeebfa.tar.gz
compcert-d857db508c318887463dde2039c9bfe99cdeebfa.zip
Merge pull request #139 from AbsInt/advanced-diagnostics
Advanced diagnostics
Diffstat (limited to 'cparser/Bitfields.ml')
-rw-r--r--cparser/Bitfields.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Bitfields.ml b/cparser/Bitfields.ml
index d55a6d36..9f38abc6 100644
--- a/cparser/Bitfields.ml
+++ b/cparser/Bitfields.ml
@@ -67,7 +67,7 @@ let is_signed_enum_bitfield env sid fld eid n =
else if List.for_all (fun (_, v, _) -> int_representable v n true) info.Env.ei_members
then true
else begin
- Cerrors.warning "Warning: not all values of type 'enum %s' can be represented in bit-field '%s' of struct '%s' (%d bits are not enough)" eid.name fld sid.C.name n;
+ Cerrors.warning Cutil.no_loc Cerrors.Unnamed "not all values of type 'enum %s' can be represented in bit-field '%s' of struct '%s' (%d bits are not enough)" eid.name fld sid.C.name n;
false
end