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

[Frama-c-discuss] const pointer in local variable



Hi,

I am trying to access the const pointer attribute in

int * const p;

For global variables the attribute list for the TPtr typ contains the const but for variables in a function it does not.

Why are local variables treated differently than global ones?

For the record I am using frama-c-Boron-20100401.

Thanks,

Wayne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110422/4f4e1468/attachment.htm>