Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
X
xf86-video-intel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Hanno Böck
  • xf86-video-intel
  • Merge Requests
  • !1

Open
Created Feb 02, 2020 by Hanno Böck@hannoMaintainer
  • Report abuse
Report abuse

Avoid duplicate definition of I810CopyROP in i810.h and i810_accel.c, fixes...

  • Overview 0
  • Commits 1
  • Changes 1

Avoid duplicate definition of I810CopyROP in i810.h and i810_accel.c, fixes compilation with -fno-common/gcc-10.

The global variable I810CopyROP was defined twice, remove it from i810.h (it's still declared as "extern" there, which is the correct way to use a global in multiple files). Such code was accepted by previous versions of gcc, however it's not correct and future gcc versions (10+) will reject it. In older gcc versions this stricter behavior can be enforced with the flag -fno-common.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix_fno_common