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] headers question


  • Subject: [Frama-c-discuss] headers question
  • From: tim.newsham at gmail.com (Tim Newsham)
  • Date: Thu, 20 Aug 2015 13:51:45 -1000

There seems to be a conflict when including both
<stdio.h> (or other libc headers) and <builtin.h>.
Is there some trick to including both?

FRAMAC_SHARE/libc/__fc_define_size_t.h:26:[kernel] user error: redefinition
of 'size_t' in the same scope. Previous declaration was at
FRAMAC_SHARE/machine.h:67
FRAMAC_SHARE/libc/__fc_define_time_t.h:25:[kernel] user error: redefinition
of 'time_t' in the same scope. Previous declaration was at
FRAMAC_SHARE/machine.h:70
FRAMAC_SHARE/libc/__fc_define_file.h:39:[kernel] user error: redefinition
of 'FILE' in the same scope. Previous declaration was at
FRAMAC_SHARE/machine.h:88
[kernel] user error: stopping on file "fin.c" that has errors. Add
'-kernel-msg-key pp'
                     for preprocessing command.
[kernel] Frama-C aborted: invalid user input.


-- 
Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | thenewsh.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150820/4d640dc5/attachment.html>