Skip to content

Commit

Permalink
[src] Fix some compilation warnings on PowerPC (#45800)
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored Jun 27, 2022
1 parent 684a8b7 commit 4015e0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/signals-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static void jl_call_in_ctx(jl_ptls_t ptls, void (*fptr)(void), int sig, void *_c
ctx->uc_mcontext64->__ss.__lr = 0;
#endif
#else
#warning "julia: throw-in-context not supported on this platform"
#pragma message("julia: throw-in-context not supported on this platform")
// TODO Add support for PowerPC(64)?
sigset_t sset;
sigemptyset(&sset);
Expand Down Expand Up @@ -298,7 +298,7 @@ int is_write_fault(void *context) {
return exc_reg_is_write_fault(ctx->uc_mcontext.mc_err);
}
#else
#warning Implement this query for consistent PROT_NONE handling
#pragma message("Implement this query for consistent PROT_NONE handling")
int is_write_fault(void *context) {
return 0;
}
Expand Down
1 change: 1 addition & 0 deletions src/stackwalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,7 @@ void jl_rec_backtrace(jl_task_t *t)
#pragma message("jl_rec_backtrace not defined for ASM/SETJMP on unknown linux")
(void)mc;
(void)c;
(void)mctx;
#endif
#elif defined(_OS_DARWIN_)
sigjmp_buf *mctx = &t->ctx.ctx.uc_mcontext;
Expand Down

1 comment on commit 4015e0d

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

Please sign in to comment.