[PR #2112] Some tweaks to make build work with GCC on macOS #1840

Open
opened 2026-05-05 08:02:59 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/2112
Author: @barracuda156
Created: 12/11/2024
Status: 🔄 Open

Base: masterHead: gcc_mac


📝 Commits (3)

  • fe46de9 libplatform: use ObjC flags on Apple
  • 8c43a3d OSXScreen.mm: do not use reserved id for variables
  • f007da6 basic_types.h: pull in cstdint only with C++

📊 Changes

3 files changed (+27 additions, -20 deletions)

View changed files

📝 src/lib/common/basic_types.h (+2 -0)
📝 src/lib/platform/CMakeLists.txt (+5 -0)
📝 src/lib/platform/OSXScreen.mm (+20 -20)

📄 Description

These are part of needed changes for the build to work with gcc.

In addition, https://github.com/debauchee/barrier/pull/1886 is required. Also I had to revert several .mm files back to .m. This is not included in this PR, so it is not sufficient to fix the build with gcc, AFAICT.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/debauchee/barrier/pull/2112 **Author:** [@barracuda156](https://github.com/barracuda156) **Created:** 12/11/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `gcc_mac` --- ### 📝 Commits (3) - [`fe46de9`](https://github.com/debauchee/barrier/commit/fe46de90538bfcf399671ff0fd2d46d91143413c) libplatform: use ObjC flags on Apple - [`8c43a3d`](https://github.com/debauchee/barrier/commit/8c43a3dd9aa011f1fcb51c8ec512e0b16d038ea9) OSXScreen.mm: do not use reserved id for variables - [`f007da6`](https://github.com/debauchee/barrier/commit/f007da643ba00a4596b8899b7c252b7175833fa1) basic_types.h: pull in cstdint only with C++ ### 📊 Changes **3 files changed** (+27 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/common/basic_types.h` (+2 -0) 📝 `src/lib/platform/CMakeLists.txt` (+5 -0) 📝 `src/lib/platform/OSXScreen.mm` (+20 -20) </details> ### 📄 Description These are part of needed changes for the build to work with gcc. In addition, https://github.com/debauchee/barrier/pull/1886 is required. Also I had to revert several `.mm` files back to `.m`. This is not included in this PR, so it is not sufficient to fix the build with gcc, AFAICT. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror added the
pull-request
label 2026-05-05 08:02:59 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1840
No description provided.