Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AndroidAppBuilder] add missing includes to template #89197

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

lambdageek
Copy link
Member

Treat missing protoype warnings as errors so this doesn't happen again.

Fixes #69601

Treat missing protoype warnings as errors so this doesn't happen
again.

Fixes dotnet#69601
@lambdageek
Copy link
Member Author

/cc @simonrozsival

@lambdageek lambdageek merged commit 84b7c61 into dotnet:main Jul 20, 2023
153 of 157 checks passed
akoeplinger added a commit to akoeplinger/runtime that referenced this pull request Aug 3, 2023
See dotnet#89921 for the test failures.

Additionally, the Android build was failing while compiling an AOT test due to this error:

```
/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot.Test/Release/net8.0/android-x64/AppBundle/modules.c:51:6: error: no previous prototype for function 'register_aot_modules' [-Werror,-Wmissing-prototypes]
void register_aot_modules ()
     ^
```

This is because we turned on `-Werror=missing-prototypes` in dotnet#89197 but the MonoAOTCompiler didn't emit a function prototype in modules.c

Fixes dotnet#89566
akoeplinger added a commit that referenced this pull request Aug 3, 2023
…ler (#89922)

See #89921 for the test failures.

Additionally, the Android build was failing while compiling an AOT test due to this error:

```
/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot.Test/Release/net8.0/android-x64/AppBundle/modules.c:51:6: error: no previous prototype for function 'register_aot_modules' [-Werror,-Wmissing-prototypes]
void register_aot_modules ()
     ^
```

This is because we turned on `-Werror=missing-prototypes` in #89197 but the MonoAOTCompiler didn't emit a function prototype in modules.c

Fixes #89566
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Uncaught exception crashes an app without printing correct stack trace
4 participants