Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • #588
Closed
Open
Issue created Feb 09, 2015 by Jochen Burghardt@burghardt

mixed virtual/nonvirtual base class causes error

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


Id Project Category View Due Date Updated
ID0002077 Frama-Clang Plug-in > clang public 2015-02-09 2015-10-13
Reporter Jochen Assigned To fvedrine Resolution open
Priority normal Severity feature Reproducibility always
Platform Neon-20140301+dev-STANCE-Jan2015 OS - OS Version xubuntu-cfe13.10
Product Version - Target Version - Fixed in Version -

Description :

output:

[kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing) [kernel] Parsing 462.cpp (external front-end) Now output intermediate result 462.cpp:5:[kernel] failure: Cannot resolve variable __frama_c_arg_0 [kernel] user error: stopping on file "462.cpp" that has errors.

If "virtual" is deleted in line 4, the error disappears; similarly if "virtual" is inserted in line 3.

Since in Stroustrup's book no mixed virtual/nonvirtual base class is discussed, the example in file "462.cpp" may not be of any relevance. However, the clang++ compiler accepts that file without any problems.

Attachments

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