Skip to content

redefinition of __STDC_VERSION__

ID0002161: This issue was created automatically from Mantis Issue 2161. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002161 Frama-C Kernel public 2015-09-15 2016-02-03
Reporter jens Assigned To yakobowski Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Sodium Target Version - Fixed in Version Frama-C Magnesium

Description :

I have installed Frama-C Sodium on xubuntu-15.10 (beta).

When I run Frama-C on a simple program then I receive the following warning:

$ frama-c foo.c [kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing) [kernel] Parsing foo.c (with preprocessing) /tmp/ppannotcb181c.c:1:0: warning: "STDC_VERSION" redefined #define STDC_VERSION 201112L ^ : note: this is the location of the previous definition /tmp/ppannotcb181c.c:2:0: warning: "STDC_UTF_16" redefined #define STDC_UTF_16 1 ^ : note: this is the location of the previous definition /tmp/ppannotcb181c.c:3:0: warning: "STDC_UTF_32" redefined #define STDC_UTF_32 1 ^ : note: this is the location of the previous definition

Additional Information :

The problem does NOT occur under xubuntu-15.04

Steps To Reproduce :

run 'frama-c foo.c' on the attached file

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information