Wireshark mailing list archives
can't compile master 62874e37789272afdcf97d25339428b60b2c84b0
From: Matt <mattator () gmail com>
Date: Sat, 18 Aug 2018 16:24:37 +0900
Hi, with gcc 7.3 I get: ===== /home/teto/wireshark/epan/dissectors/file-rfc7468.c: In function 'dissect_rfc7468': /home/teto/wireshark/epan/dissectors/file-rfc7468.c:138:9: error: 'labellen' may be used uninitialized in this function [-Werror=maybe-uninitialized] int labellen; ^~~~~~~~ /home/teto/wireshark/epan/dissectors/file-rfc7468.c:201:11: error: 'labelp' may be used uninitialized in this function [-Werror=maybe-uninitialized] label = wmem_strndup(wmem_packet_scope(), labelp, labellen); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [epan/dissectors/CMakeFiles/dissectors.dir/build.make:1615: epan/dissectors/CMakeFiles/dissectors.dir/file-rfc7468.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2120: epan/dissectors/CMakeFiles/dissectors.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ===== Seems like it was introduced in Change-Id: I98db9f0beb86e5694fb8e886005a2df4fc96ba71 cheers ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- can't compile master 62874e37789272afdcf97d25339428b60b2c84b0 Matt (Aug 18)
- Re: can't compile master 62874e37789272afdcf97d25339428b60b2c84b0 Guy Harris (Aug 18)