-
Notifications
You must be signed in to change notification settings - Fork 3.6k
prel gcc14 doio.c:218:9: error: implicit declaration of function 'dup3'; did you mean 'dup2'? [-Wimplicit-function-declaration] #25166
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
Comments
perl.tar.gz |
ea8e6fb is not enough? |
|
@neheb still hitting this problem. maybe bump perl to 5.40.2 and then refresh patches? |
make package/perl/{clean,compile} |
still meeting the problem. openwrt version: SNAPSHOT 2037ca29552eb8e158493c39b6922244d33334f2 logs: perl.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doio.c: In function 'Perl_PerlLIO_dup2_cloexec':
doio.c:218:9: error: implicit declaration of function 'dup3'; did you mean 'dup2'? [-Wimplicit-function-declaration]
218 | dup3(oldfd, newfd, O_CLOEXEC),
| ^~~~
doio.c:125:32: note: in definition of macro 'DO_GENOPEN_EXPERIMENTING_CLOEXEC'
125 | int res = (GENOPEN_CLOEXEC), eno;
| ^~~~~~~~~~~~~~~
doio.c:216:5: note: in expansion of macro 'DO_ONEOPEN_EXPERIMENTING_CLOEXEC'
216 | DO_ONEOPEN_EXPERIMENTING_CLOEXEC(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doio.c: In function 'Perl_my_mkstemp_cloexec':
util.h:273:45: error: implicit declaration of function 'mkostemp'; did you mean 'mkstemp'? [-Wimplicit-function-declaration]
273 | # define Perl_my_mkostemp(templte, flags) mkostemp(templte, flags)
| ^~~~~~~~
doio.c:125:32: note: in definition of macro 'DO_GENOPEN_EXPERIMENTING_CLOEXEC'
125 | int res = (GENOPEN_CLOEXEC), eno;
| ^~~~~~~~~~~~~~~
doio.c:336:5: note: in expansion of macro 'DO_ONEOPEN_EXPERIMENTING_CLOEXEC'
336 | DO_ONEOPEN_EXPERIMENTING_CLOEXEC(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doio.c:338:9: note: in expansion of macro 'Perl_my_mkostemp'
338 | Perl_my_mkostemp(templte, O_CLOEXEC),
| ^~~~~~~~~~~~~~~~
doio.c: In function 'Perl_PerlProc_pipe_cloexec':
doio.c:372:9: error: implicit declaration of function 'pipe2'; did you mean 'pipe'? [-Wimplicit-function-declaration]
372 | pipe2(pipefd, O_CLOEXEC),
| ^~~~~
doio.c:125:32: note: in definition of macro 'DO_GENOPEN_EXPERIMENTING_CLOEXEC'
125 | int res = (GENOPEN_CLOEXEC), eno;
| ^~~~~~~~~~~~~~~
doio.c:371:5: note: in expansion of macro 'DO_PIPEOPEN_EXPERIMENTING_CLOEXEC'
371 | DO_PIPEOPEN_EXPERIMENTING_CLOEXEC(PL_strategy_pipe, pipefd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doio.c: In function 'Perl_PerlSock_accept_cloexec':
doio.c:408:9: error: implicit declaration of function 'accept4'; did you mean 'accept'? [-Wimplicit-function-declaration]
408 | accept4(listenfd, addr, addrlen, SOCK_CLOEXEC),
| ^~~~~~~
doio.c:125:32: note: in definition of macro 'DO_GENOPEN_EXPERIMENTING_CLOEXEC'
125 | int res = (GENOPEN_CLOEXEC), eno;
| ^~~~~~~~~~~~~~~
doio.c:406:5: note: in expansion of macro 'DO_ONEOPEN_EXPERIMENTING_CLOEXEC'
406 | DO_ONEOPEN_EXPERIMENTING_CLOEXEC(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [makefile:266: doio.o] Error 1
The text was updated successfully, but these errors were encountered: