Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
chromium.17867
no-location-leap151.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-location-leap151.patch of Package chromium.17867
Index: chromium-109.0.5414.46/base/location.h =================================================================== --- chromium-109.0.5414.46.orig/base/location.h +++ chromium-109.0.5414.46/base/location.h @@ -20,7 +20,7 @@ namespace base { #define SUPPORTS_LOCATION_BUILTINS \ (__has_builtin(__builtin_FUNCTION) && __has_builtin(__builtin_FILE) && \ __has_builtin(__builtin_LINE)) -#elif defined(COMPILER_GCC) && __GNUC__ >= 7 +#elif defined(COMPILER_GCC) && __GNUC__ >= 10 // GCC has supported these for a long time, but they point at the function // declaration in the case of default arguments, rather than at the call site. #define SUPPORTS_LOCATION_BUILTINS 1 Index: chromium-109.0.5414.46/base/location.cc =================================================================== --- chromium-109.0.5414.46.orig/base/location.cc +++ chromium-109.0.5414.46/base/location.cc @@ -144,7 +144,7 @@ NOINLINE Location Location::Current(cons #else NOINLINE Location Location::Current() { - return Location(nullptr, RETURN_ADDRESS()); + return Location("[unknown file]", RETURN_ADDRESS()); } #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor