Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #1716
Closed
Open
Issue created Jul 13, 2010 by Pascal Cuoq@pascal

When using -pp-annot and including stdbool.h, can't parse \false in annotations

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


Id Project Category View Due Date Updated
ID0000541 Frama-C Kernel > ACSL implementation public 2010-07-13 2014-02-12
Reporter pascal Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Boron-20100401 Target Version - Fixed in Version Frama-C Carbon-20101201-beta1

Description :

On the attached program (that came from bug report 530), when the -pp-annot option is used, the \false in annotations cause problems.

Commandline (for me, adjust path as needed):

frama-c -pp-annot -cpp-command "gcc -I/usr/local/Frama-C_B/share/frama-c/libc -C -E " t3.c

Results:

[kernel] preprocessing with "gcc -I/usr/local/share/frama-c/libc -C -E -dD t3.c" /usr/local/share/frama-c/libc/stdlib.h:127:[kernel] user error: lexical error, illegal character
[kernel] user error: skipping file "t3.c" that has errors. [kernel] Frama-C aborted because of an invalid user input.

More details are available at bug 530.

Attachments

  • t3.c
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking