Wp.WarningSourceContextual Errors
Source, Reason
Warning Manager
type t = {loc : Frama_c_kernel.Filepath.position;severe : bool;source : string;reason : string;effect : string;}val create :
?log:bool ->
?severe:bool ->
?source:string ->
effect:string ->
('a, Format.formatter, unit, t) format4 ->
'aval emit :
?severe:bool ->
?source:string ->
effect:string ->
('a, Format.formatter, unit) format ->
'aEmit a warning in current context. Defaults: severe=true, source="wp".
Handle the error and emit a warning with specified severity and effect if a context has been set. Otherwise, a WP-fatal error is raised instead. Default for severe is false.