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

Fix errors for gcc 14 #8553

Merged
merged 3 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion erts/emulator/test/float_SUITE_data/fp_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static ErlDrvSSizeT control(ErlDrvData drv_data,
res_str = "skip: no thread support";
else if (0 != erl_drv_thread_create("test", &tid, do_test, NULL, NULL))
res_str = "failed to create thread";
else if (0 != erl_drv_thread_join(tid, &res_str))
else if (0 != erl_drv_thread_join(tid, (void**)&res_str))
res_str = "failed to join thread";
break;
}
Expand Down
2 changes: 1 addition & 1 deletion erts/emulator/test/port_SUITE_data/dead_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "winbase.h"
#endif

#define MAIN(argc, argv) main(argc, argv)
#define MAIN(argc, argv) int main(argc, argv)

extern int errno;

Expand Down
2 changes: 1 addition & 1 deletion erts/emulator/test/signal_SUITE_data/unlink_signal_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ DRIVER_INIT(unlink_signal_entry)
}

typedef struct {
ErlDrvData port;
ErlDrvPort port;
int timeout_count;
} us_drv_state;

Expand Down
Loading