2021-01-22 20:18 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000999Frama-CKernelpublic2014-02-12 16:59
Reporteryakobowski 
Assigned Tovirgile 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Product VersionFrama-C Nitrogen-20111001 
Target VersionFixed in VersionFrama-C Oxygen-20120901 
Summary0000999: Missing or misleading warnings when merging two functions
Descriptionframa-c does not complain in the right way when parsing the following code:
- there is no warning for the types, even though the return types are not compatible
- the warning "found two default behaviors, merging them" is not really intuitive for the user, as he has not written "behavior" anywhere.

//@ assigns \nothing;
int foo(int* p);

//@ ensures 0 <= \result < 25;
unsigned short foo()
{
  return 0;
}
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0004718

Fix committed to stable/neon branch.
+Notes

-Issue History
Date Modified Username Field Change
2011-10-24 13:16 yakobowski New Issue
2011-10-24 13:46 yakobowski Status new => assigned
2011-10-24 13:46 yakobowski Assigned To => virgile
2011-10-27 20:35 svn
2011-10-27 20:35 svn Status assigned => resolved
2011-10-27 20:35 svn Resolution open => fixed
2012-09-19 17:15 signoles Fixed in Version => Frama-C Oxygen-20120901
2012-09-19 17:16 signoles Status resolved => closed
2013-12-19 01:12 Source_changeset_attached => framac master 32224c87
2014-02-12 16:54 Source_changeset_attached => framac stable/neon 32224c87
2014-02-12 16:59 Note Added: 0004718
2014-02-12 16:59 Status closed => resolved
+Issue History