mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
commit
baeed117b3
4
makefile
4
makefile
@ -718,21 +718,19 @@ CHECK_CLANG :=
|
||||
else
|
||||
GCC_VERSION := $(shell $(subst @,,$(CC)) -dumpversion 2> /dev/null)
|
||||
ifneq ($(OS),solaris)
|
||||
CLANG_VERSION := $(shell clang --version 2> /dev/null | head -n 1 | grep '[0-9]\.[0-9]' -o | tail -n 1)
|
||||
CLANG_VERSION := $(shell clang --version 2> /dev/null | head -n 1 | grep -e 'version [0-9]\.[0-9]\(\.[0-9]\)\?' -o | grep -e '[0-9]\.[0-9]\(\.[0-9]\)\?' -o | tail -n 1)
|
||||
endif
|
||||
PYTHON_AVAILABLE := $(shell $(PYTHON) --version > /dev/null 2>&1 && echo python)
|
||||
CHECK_CLANG := $(shell gcc --version 2> /dev/null | grep 'clang' | head -n 1)
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETOS),macosx)
|
||||
ifneq (,$(findstring 3.,$(CLANG_VERSION)))
|
||||
ifeq ($(ARCHITECTURE),_x64)
|
||||
ARCHITECTURE := _x64_clang
|
||||
else
|
||||
ARCHITECTURE := _x86_clang
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(PYTHON_AVAILABLE),python)
|
||||
$(error Python is not available in path)
|
||||
|
@ -1000,6 +1000,11 @@ end
|
||||
"-Wno-extern-c-compat",
|
||||
}
|
||||
end
|
||||
if (version >= 70000) then
|
||||
buildoptions {
|
||||
"-Wno-tautological-undefined-compare",
|
||||
}
|
||||
end
|
||||
else
|
||||
if (version == 40201) then
|
||||
buildoptions {
|
||||
|
@ -404,7 +404,7 @@ static void debugwin_view_update(debug_view &view, void *osdprivate)
|
||||
[text addAttribute:NSFontAttributeName value:font range:run];
|
||||
NSPasteboard *const board = [NSPasteboard generalPasteboard];
|
||||
[board declareTypes:[NSArray arrayWithObject:NSRTFPboardType] owner:nil];
|
||||
[board setData:[text RTFFromRange:run documentAttributes:nil] forType:NSRTFPboardType];
|
||||
[board setData:[text RTFFromRange:run documentAttributes:@{}] forType:NSRTFPboardType];
|
||||
[text deleteCharactersInRange:run];
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
[breakScroll setBorderType:NSNoBorder];
|
||||
[breakScroll setDocumentView:breakView];
|
||||
[breakView release];
|
||||
breakTab = [[NSTabViewItem alloc] initWithIdentifier:nil];
|
||||
breakTab = [[NSTabViewItem alloc] initWithIdentifier:@""];
|
||||
[breakTab setView:breakScroll];
|
||||
[breakScroll release];
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
[watchScroll setBorderType:NSNoBorder];
|
||||
[watchScroll setDocumentView:watchView];
|
||||
[watchView release];
|
||||
watchTab = [[NSTabViewItem alloc] initWithIdentifier:nil];
|
||||
watchTab = [[NSTabViewItem alloc] initWithIdentifier:@""];
|
||||
[watchTab setView:watchScroll];
|
||||
[watchScroll release];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user