overloading of predicate fails
ID0002098:
**This issue was created automatically from Mantis Issue 2098. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0002098 | Frama-C | Kernel > ACSL implementation | public | 2015-03-31 | 2016-01-26 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | jens | **Assigned To** | virgile | **Resolution** | fixed |
| **Priority** | normal | **Severity** | major | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | Frama-C Sodium | **Target Version** | Frama-C Magnesium | **Fixed in Version** | Frama-C Magnesium |
### Description :
Overloading of ACSL predicates does not work anymore.
### Additional Information :
the problem does NOT occur under Neon.
### Steps To Reproduce :
the attached program reports the following error when called with 'frama-c overloading.c'
[kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing overloading.c (with preprocessing)
overloading.c:10:[kernel] user error: invalid implicit conversion from 'int' to 'short' in annotation.
[kernel] user error: stopping on file "overloading.c" that has errors. Add '-kernel-msg-key pp'
for preprocessing command.
[kernel] Frama-C aborted: invalid user input.
## Attachments
- [overloading.c](/uploads/9a26b0d025434222fddb2f37e1e99e80/overloading.c)
- [overloading2.c](/uploads/09b42bc4285c4460e2dc291ef3a83c3b/overloading2.c)
issue