{tcp,udp}-smack-test: fix implicit-function-declaration issues fatal with gcc-14
A message that is not in the archive (sent off-list or not yet received): [email protected]
gentle ping
Quoted 53 lines · Martin Jansa via lists.yoctoproject.org
tcp-smack-test:
http://errors.yoctoproject.org/Errors/Details/766925/
tcp_client.c:55:16: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]udp-client-tests:
http://errors.yoctoproject.org/Errors/Details/766927/
udp_client.c:41:16: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] udp_client.c:51:12: error: implicit declaration of function 'fsetxattr' [-Wimplicit-function-declaration] udp_client.c:66:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]Signed-off-by Martin Jansa <[email protected]>--- recipes-mac/smack/tcp-smack-test/tcp_client.c | 1 + recipes-mac/smack/udp-smack-test/udp_client.c | 1 + 2 files changed, 2 insertions(+)recipes-mac/smack/tcp-smack-test/tcp_client.c +1
-0@@ -18,6 +18,7 @@// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. #include <stdio.h> +#include <stdlib.h> #include <sys/socket.h> #include <sys/types.h> #include <errno.h> recipes-mac/smack/udp-smack-test/udp_client.c +1
-1@@ -18,6 +18,7 @@// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. #include <sys/socket.h> +#include <stdlib.h> #include <stdio.h> #include <netinet/in.h> #include <netdb.h> --2.45.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63171): https://lists.yoctoproject.org/g/yocto/message/63171
Mute This Topic: https://lists.yoctoproject.org/mt/106257756/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-