Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: [Frama-c-discuss] const pointer in local variable
  • From: wpineault at dsci.com (Wayne Pineault)
  • Date: Fri, 22 Apr 2011 12:51:59 -0400

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>