Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Ledest:erlang:24
erlang
1037-Fix-implicit-int.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1037-Fix-implicit-int.patch of Package erlang
From ac98929b742d5cb22c5e076c18c7a57d7242cdcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Henrique=20Ferreira=20de=20Freitas?= <joaohf@gmail.com> Date: Fri, 7 Jun 2024 21:39:12 -0300 Subject: [PATCH 2/3] Fix implicit-int With GCC 14 series, the following error exists: dead_port.c:43:26: error: return type defaults to 'int' [-Wimplicit-int] 43 | #define MAIN(argc, argv) main(argc, argv) | ^~~~ dead_port.c:50:1: note: in expansion of macro 'MAIN' 50 | MAIN(argc, argv) | ^~~~ --- erts/emulator/test/port_SUITE_data/dead_port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/test/port_SUITE_data/dead_port.c b/erts/emulator/test/port_SUITE_data/dead_port.c index 26f09f33c7..723f0bc67d 100644 --- a/erts/emulator/test/port_SUITE_data/dead_port.c +++ b/erts/emulator/test/port_SUITE_data/dead_port.c @@ -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; -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor