Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5d78428f
Commit
5d78428f
authored
Oct 24, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Oct 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: Disable declaration-after-statement warnings in ObjC files.
parent
229ccfd0
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
0 deletions
+17
-0
cocoa_app.m
dlls/winemac.drv/cocoa_app.m
+2
-0
cocoa_clipboard.m
dlls/winemac.drv/cocoa_clipboard.m
+2
-0
cocoa_cursorclipping.m
dlls/winemac.drv/cocoa_cursorclipping.m
+2
-0
cocoa_display.m
dlls/winemac.drv/cocoa_display.m
+2
-0
cocoa_event.m
dlls/winemac.drv/cocoa_event.m
+2
-0
cocoa_main.m
dlls/winemac.drv/cocoa_main.m
+2
-0
cocoa_opengl.m
dlls/winemac.drv/cocoa_opengl.m
+2
-0
cocoa_status_item.m
dlls/winemac.drv/cocoa_status_item.m
+2
-0
cocoa_window.m
dlls/winemac.drv/cocoa_window.m
+1
-0
No files found.
dlls/winemac.drv/cocoa_app.m
View file @
5d78428f
...
...
@@ -25,6 +25,8 @@
#import "cocoa_event.h"
#import "cocoa_window.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
static
NSString
*
const
WineAppWaitQueryResponseMode
=
@"WineAppWaitQueryResponseMode"
;
...
...
dlls/winemac.drv/cocoa_clipboard.m
View file @
5d78428f
...
...
@@ -23,6 +23,8 @@
#import "cocoa_event.h"
#import "cocoa_window.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
#if !defined(MAC_OS_X_VERSION_10_14) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_14
/* For older SDKs, #define the new names of constants deprecated/renamed in macOS 10.14. */
#define NSBitmapImageFileTypeBMP NSBMPFileType
...
...
dlls/winemac.drv/cocoa_cursorclipping.m
View file @
5d78428f
...
...
@@ -23,6 +23,8 @@
#import "cocoa_cursorclipping.h"
#import "cocoa_window.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
/* Neither Quartz nor Cocoa has an exact analog for Win32 cursor clipping.
*
...
...
dlls/winemac.drv/cocoa_display.m
View file @
5d78428f
...
...
@@ -26,6 +26,8 @@
#endif
#include "macdrv_cocoa.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
static
uint64_t
dedicated_gpu_id
;
static
uint64_t
integrated_gpu_id
;
...
...
dlls/winemac.drv/cocoa_event.m
View file @
5d78428f
...
...
@@ -29,6 +29,8 @@
#import "cocoa_app.h"
#import "cocoa_window.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
static
NSString
*
const
WineEventQueueThreadDictionaryKey
=
@"WineEventQueueThreadDictionaryKey"
;
...
...
dlls/winemac.drv/cocoa_main.m
View file @
5d78428f
...
...
@@ -25,6 +25,8 @@
#
include
"
macdrv_cocoa
.
h
"
#
import
"
cocoa_app
.
h
"
#
pragma
GCC
diagnostic
ignored
"
-
Wdeclaration
-
after
-
statement
"
/
*
Condition
values
for
an
NSConditionLock
.
Used
to
signal
between
run_cocoa_app
and
macdrv_start_cocoa_app
so
the
latter
knows
when
the
former
is
running
...
...
dlls/winemac.drv/cocoa_opengl.m
View file @
5d78428f
...
...
@@ -26,6 +26,8 @@
#include "cocoa_app.h"
#include "cocoa_event.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
@interface
WineOpenGLContext
()
@property
(
retain
,
nonatomic
)
NSView
*
latentView
;
...
...
dlls/winemac.drv/cocoa_status_item.m
View file @
5d78428f
...
...
@@ -23,6 +23,8 @@
#import "cocoa_app.h"
#import "cocoa_event.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
@interface
WineStatusItem
:
NSView
{
...
...
dlls/winemac.drv/cocoa_window.m
View file @
5d78428f
...
...
@@ -33,6 +33,7 @@
#import "cocoa_event.h"
#import "cocoa_opengl.h"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
#if !defined(MAC_OS_X_VERSION_10_12) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
/* Additional Mac virtual keycode, to complement those in Carbon's <HIToolbox/Events.h>. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment