Comments (8)
is plain old __attribute__((__deprecated__(("use foo instead"))))
a better choice then, since it includes a user-provided diagnostic?
from ndk.
__attribute__((availability))
supports that too. We don't expose that in __REMOVED_IN()
though, and that's the fix we need.
from ndk.
oh, yeah, that seems like a bug in __REMOVED_IN()
--- i vote we require an explanation...
from ndk.
Don't know why I didn't think of that, or why we didn't do that in the first place :) +1
from ndk.
Status? SDL will not compile for android because of this bug
from ndk.
Status? SDL will not compile for android because of this bug
this bug won't fix any builds --- this bug will just give you a compiler diagnostic explaining that you need to switch from ALooper_pollAll() to ALooper_pollOnce().
from ndk.
but, yes, it looks like even SDL 3.0 relies on ALooper_pollAll(): https://github.com/libsdl-org/SDL/blob/12b6c17575a4b24539b7d17625232fff899c90cf/src/sensor/android/SDL_androidsensor.c#L73
from ndk.
It also uses ALooper_wake
, so this is not a false positive. That's a bug in SDL.
EDIT: It may not be. The bug happens if you use pollAll
in combination with both events signaled by callbacks and those signaled by wait
. There's definitely a wait
in that code. Whether there's a callback or not is not depends on how the sensor API is implemented in the OS, I think.
Okay, looking even more closely, it's not just in combination with callbacks, and wake and any other event, so yes, that probably does have the bug. See the discussion post I added to the OP for more info.
from ndk.
Related Issues (20)
- [FR] [simpleperf] ./app_profiler.py --system_wide should work on rooted "user" phones HOT 1
- [BUG] `std::isblank( charT c, const locale& loc)` is missing from `<locale>` HOT 3
- [BUG] Clang++ Segmentation fault when building AOSP branch android-14.0.0_r35 HOT 3
- [Bug]: error: ran out of registers during register allocation HOT 17
- Android builds with unity fail: "Library\Bee\artifacts\Android" HOT 4
- [FR] warn user if their cmake_minimum_required setting is incompatible with android HOT 4
- [DOC] Clarification on 16k page size support for x86_64 devices HOT 3
- [DOC] `system_fonts.h` HOT 6
- [Bug]: Lambda segfaults in Clang HOT 11
- [FR] Official NDK release for Linux arm64 HOT 1
- [Bug]: fatal error: error in backend: Cannot select: 0x10ba8ace0: nxv4f32 = BUILD_VECTOR 0x133163a90, 0x1330f4800, 0x133108d20, 0x1248b9e60 HOT 1
- [BUG] Compilation Error with std::execution in C++17 HOT 3
- [BUG] CLEAR_VARS does not clear LOCAL_STRIP_MODE variable HOT 1
- [Bug]: Android NDK r27 rc2 miscompiles code with inderect gotos HOT 2
- [Bug] NDK's openmp test crashing on x86 with latest LLVM update HOT 2
- Please provide maintainable list of NDK codename-revision pairs HOT 3
- [Bug]: clang compile with -D_FORTIFY_SOURCE=2 -Dstatic= cause undefined symbol: snprintf HOT 7
- [BUG] android-ndk-r26c use -pg ld.lld: error: undefined symbol: _mcount HOT 7
- [Bug]: Compiler Crash
- [FR support libclang?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndk.