--- layout: fc_discuss_archives title: Message 22 from Frama-C-discuss on July 2011 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] unbound value when calling "Annotations.get_annotations"



Hello,

Le 11/07/2011 10:53, ??? a ?crit :
> I want to get the annotations associated with a stmt but it's into a
> strange situation when calling "Annotations.get_annotations". The error
> message is
>
> Error: Unbound value Annotations.get_annotations
>
> but when calling "Annotations.get_all" there is no error.

I cannot reproduce your issue. What version of Frama-C are you using? 
Could you provide us a reproducible example?

The code "open
> Annotations" has been added to the head. How to resolve it?

If you prefix your values defined in the module Annotations by 
"Annotations." like you do, then adding the statement "open Annotations" 
before is useless.

Best regards,
Julien Signoles