From 13f5abe2a0d38e726249b66be574c82a96fec6e4 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 31 Aug 2016 11:12:13 +0200 Subject: Readded warning about ignored volatile. Bug 18004 --- cfrontend/C2C.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfrontend/C2C.ml') diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml index 952d59e7..d7b26322 100644 --- a/cfrontend/C2C.ml +++ b/cfrontend/C2C.ml @@ -717,7 +717,7 @@ let rec convertExpr env e = let e2' = convertExpr env e2 in if Cutil.is_composite_type env e1.etyp && List.mem AVolatile (Cutil.attributes_of_type env e1.etyp) then - warning Cerrors.Unnamed "assignment to an lvalue of volatile composite type"; + warning Cerrors.Unnamed "assignment to an lvalue of volatile composite type, the 'volatile' qualifier is ignored"; ewrap (Ctyping.eassign e1' e2') | C.EBinop((C.Oadd_assign|C.Osub_assign|C.Omul_assign|C.Odiv_assign| C.Omod_assign|C.Oand_assign|C.Oor_assign|C.Oxor_assign| -- cgit