Frama-C Bug Tracking System - Frama-C
View Issue Details
0000519Frama-CKernelpublic2010-06-25 12:282014-02-12 16:55
pascal 
virgile 
normalminoralways
closedfixed 
Frama-C Boron-20100401 
Frama-C Carbon-20101201-beta1 
0000519: int t[static 2] is not supported as function argument
The C99 feature allowing to declare arrays in function arguments is not supported by the parser. To reproduce: ~/ppc $ cat p.c void f(int t[static 2]); ~/ppc $ cat t.c void f(int t[static 2]) { return; } ~/ppc $ bin/toplevel.opt t.c [kernel] preprocessing with "gcc -C -E -I. t.c" t.c:1:[kernel] user error: syntax error [kernel] user error: skipping file "t.c" that has errors. [kernel] Frama-C aborted because of an invalid user input. ~/ppc $ bin/toplevel.opt p.c [kernel] preprocessing with "gcc -C -E -I. p.c" p.c:1:[kernel] user error: syntax error [kernel] user error: skipping file "p.c" that has errors. [kernel] Frama-C aborted because of an invalid user input. ~/ppc $
No tags attached.
Issue History
2010-06-25 12:28pascalNew Issue
2010-07-01 09:33virgileAssigned To => virgile
2010-07-01 09:33virgileStatusnew => acknowledged
2010-07-01 18:13svnCheckin
2010-07-01 18:13svnStatusacknowledged => resolved
2010-07-01 18:13svnResolutionopen => fixed
2010-12-10 15:45signolesFixed in Version => Frama-C Carbon-20101201-beta1
2010-12-17 19:36signolesStatusresolved => closed

There are no notes attached to this issue.