Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • MP System and Software Behavior Modeling Tool MP System and Software Behavior Modeling Tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Please review any and all PUBLIC repositories, groups, and associated files. These allow anyone on the Internet to access without authentication. Repository and group owners are responsible for their content and permission settings. Go to your project(s), click on Settings > General and expand the "Visibility, project features, permissions" to change this setting.

  • Monterey PhoenixMonterey Phoenix
  • MP System and Software Behavior Modeling ToolMP System and Software Behavior Modeling Tool
  • Merge requests
  • !2

No declaration of global variables in header files anymore

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Mike Collins requested to merge fix_globals into master Jun 21, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 60

Current master version will not compile on UBUNTU 20+ using gcc --version 10+. The main issue is that there are lots of places of declaring global variables in headers and sometimes multiple times which the older compiler versions seemed to figure out. This fix addresses the suggestion in a previous merge request (in part) to compile with the -fcommon flag. The issue is more systemic than just a flag change and the code has been updated. Now compiles on UBUNTU 20+ with gcc --version 10.3.0 and clang and all older versions of gcc.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_globals