Skip to content

Fix compiler warnings for noreturn#87

Open
peterzhu2118 wants to merge 1 commit into
mainfrom
fix-noreturn-compiler-warning
Open

Fix compiler warnings for noreturn#87
peterzhu2118 wants to merge 1 commit into
mainfrom
fix-noreturn-compiler-warning

Conversation

@peterzhu2118
Copy link
Copy Markdown
Member

gc/mmtk/mmtk.c:480:1: warning: function 'rb_mmtk_gc_thread_bug' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
  480 | {
      | ^
gc/mmtk/mmtk.c:510:1: warning: function 'rb_mmtk_mutator_thread_panic_handler' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
  510 | {
      | ^

    gc/mmtk/mmtk.c:480:1: warning: function 'rb_mmtk_gc_thread_bug' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      480 | {
          | ^
    gc/mmtk/mmtk.c:510:1: warning: function 'rb_mmtk_mutator_thread_panic_handler' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      510 | {
          | ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant