==>(B Building on centiskorch(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B sending incremental file list created directory packages/deepin-log-viewer ./ .SRCINFO 2,252B 100% 0B/s 0:00:00 2,252B 100% 0B/s 0:00:00 (xfr#1, to-chk=11/13) .nvchecker.toml 96B 100% 96.0KB/s 0:00:00 96B 100% 96.0KB/s 0:00:00 (xfr#2, to-chk=10/13) LICENSE 646B 100% 646KB/s 0:00:00 646B 100% 646KB/s 0:00:00 (xfr#3, to-chk=9/13) PKGBUILD 2,952B 100% 2.95MB/s 0:00:00 2,952B 100% 2.95MB/s 0:00:00 (xfr#4, to-chk=8/13) REUSE.toml 822B 100% 822KB/s 0:00:00 822B 100% 822KB/s 0:00:00 (xfr#5, to-chk=7/13) deepin-log-viewer-6.5.43-1.log 873B 100% 873KB/s 0:00:00 873B 100% 873KB/s 0:00:00 (xfr#6, to-chk=6/13) deepin-log-viewer-6.5.43-arch.patch 8,113B 100% 8.11MB/s 0:00:00 8,113B 100% 8.11MB/s 0:00:00 (xfr#7, to-chk=5/13) deepin-log-viewer-6.5.43-build.patch 16,790B 100% 16.8MB/s 0:00:00 16,790B 100% 16.8MB/s 0:00:00 (xfr#8, to-chk=4/13) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE LICENSES/Apache-2.0.txt 10,280B 100% 10.3MB/s 0:00:00 10,280B 100% 10.3MB/s 0:00:00 (xfr#9, to-chk=1/13) LICENSES/GPL-3.0-or-later.txt 32,768B 94% 16.4MB/s 0:00:00 34,674B 100% 17.3MB/s 0:00:00 (xfr#10, to-chk=0/13) sent 26,237 bytes received 273 bytes 17,673.33 bytes/sec total size is 76,845 speedup is 2.90 ==>(B Patching arch to riscv64...(B ==>(B Running pkgctl build --arch riscv64 on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building deepin-log-viewer(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-0(B ==>(B Building deepin-log-viewer for [extra] (riscv64)(B ]3008;start=150ca88441da4d238e5e31d7e700fb5f;user=felix;hostname=centiskorch.felixc.at;machineid=1a94f69a1f9e480395692a8eaa8e4813;bootid=a2393ad9b1bf4b4480e895f3d40a1c3e;pid=42004;pidfdid=42005;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=edf7761d8ec44f5d966ba9bd808e28f8;user=root;hostname=centiskorch.felixc.at;machineid=1a94f69a1f9e480395692a8eaa8e4813;bootid=a2393ad9b1bf4b4480e895f3d40a1c3e;pid=42064;pidfdid=42065;comm=systemd-nspawn;container=arch-nspawn-42064;type=container\]11;?\]2;🔵 Container arch-nspawn-42064 on centiskorch.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=edf7761d8ec44f5d966ba9bd808e28f8\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...(Bdone(B ]3008;start=64ff300073624511b1e19948f9fecfa0;user=root;hostname=centiskorch.felixc.at;machineid=1a94f69a1f9e480395692a8eaa8e4813;bootid=a2393ad9b1bf4b4480e895f3d40a1c3e;pid=42285;pidfdid=42286;comm=sudo;targetuser=felix;type=session\==>(B Making package: deepin-log-viewer 6.5.43-1 (Thu Nov 5 20:51:04 2026)(B ==>(B Retrieving sources...(B  ->(B Cloning deepin-log-viewer git repo...(B Cloning into bare repository '/home/felix/packages/deepin-log-viewer/deepin-log-viewer'... remote: Enumerating objects: 19455, done. remote: Counting objects: 0% (1/492) remote: Counting objects: 1% (5/492) remote: Counting objects: 2% (10/492) remote: Counting objects: 3% (15/492) remote: Counting objects: 4% (20/492) remote: Counting objects: 5% (25/492) remote: Counting objects: 6% (30/492) remote: Counting objects: 7% (35/492) remote: Counting objects: 8% (40/492) remote: Counting objects: 9% (45/492) remote: Counting objects: 10% (50/492) remote: Counting objects: 11% (55/492) remote: Counting objects: 12% (60/492) remote: Counting objects: 13% (64/492) remote: Counting objects: 14% (69/492) remote: Counting objects: 15% (74/492) remote: Counting objects: 16% (79/492) remote: Counting objects: 17% (84/492) remote: Counting objects: 18% (89/492) remote: Counting objects: 19% (94/492) remote: Counting objects: 20% (99/492) remote: Counting objects: 21% (104/492) remote: Counting objects: 22% (109/492) remote: Counting objects: 23% (114/492) remote: Counting objects: 24% (119/492) remote: Counting objects: 25% (123/492) remote: Counting objects: 26% (128/492) remote: Counting objects: 27% (133/492) remote: Counting objects: 28% (138/492) remote: Counting objects: 29% (143/492) remote: Counting objects: 30% (148/492) remote: Counting objects: 31% (153/492) remote: Counting objects: 32% (158/492) remote: Counting objects: 33% (163/492) remote: Counting objects: 34% (168/492) remote: Counting objects: 35% (173/492) remote: Counting objects: 36% (178/492) remote: Counting objects: 37% (183/492) remote: Counting objects: 38% (187/492) remote: Counting objects: 39% (192/492) remote: Counting objects: 40% (197/492) remote: Counting objects: 41% (202/492) remote: Counting objects: 42% (207/492) remote: Counting objects: 43% (212/492) remote: Counting objects: 44% (217/492) remote: Counting objects: 45% (222/492) remote: Counting objects: 46% (227/492) remote: Counting objects: 47% (232/492) remote: Counting objects: 48% (237/492) remote: Counting objects: 49% (242/492) remote: Counting objects: 50% (246/492) remote: Counting objects: 51% (251/492) remote: Counting objects: 52% (256/492) remote: Counting objects: 53% (261/492) remote: Counting objects: 54% (266/492) remote: Counting objects: 55% (271/492) remote: Counting objects: 56% (276/492) remote: Counting objects: 57% (281/492) remote: Counting objects: 58% (286/492) remote: Counting objects: 59% (291/492) remote: Counting objects: 60% (296/492) remote: Counting objects: 61% (301/492) remote: Counting objects: 62% (306/492) remote: Counting objects: 63% (310/492) remote: Counting objects: 64% (315/492) remote: Counting objects: 65% (320/492) remote: Counting objects: 66% (325/492) remote: Counting objects: 67% (330/492) remote: Counting objects: 68% (335/492) remote: Counting objects: 69% (340/492) remote: Counting objects: 70% (345/492) remote: Counting objects: 71% (350/492) remote: Counting objects: 72% (355/492) remote: Counting objects: 73% (360/492) remote: Counting objects: 74% (365/492) remote: Counting objects: 75% (369/492) remote: Counting objects: 76% (374/492) remote: Counting objects: 77% (379/492) remote: Counting objects: 78% (384/492) remote: Counting objects: 79% (389/492) remote: Counting objects: 80% (394/492) remote: Counting objects: 81% (399/492) remote: Counting objects: 82% (404/492) remote: Counting objects: 83% (409/492) remote: Counting objects: 84% (414/492) remote: Counting objects: 85% (419/492) remote: Counting objects: 86% (424/492) remote: Counting objects: 87% (429/492) remote: Counting objects: 88% (433/492) remote: Counting objects: 89% (438/492) remote: Counting objects: 90% (443/492) remote: Counting objects: 91% (448/492) remote: Counting objects: 92% (453/492) remote: Counting objects: 93% (458/492) remote: Counting objects: 94% (463/492) remote: Counting objects: 95% (468/492) remote: Counting objects: 96% (473/492) remote: Counting objects: 97% (478/492) remote: Counting objects: 98% (483/492) remote: Counting objects: 99% (488/492) remote: Counting objects: 100% (492/492) remote: Counting objects: 100% (492/492), done. remote: Compressing objects: 0% (1/254) remote: Compressing objects: 1% (3/254) remote: Compressing objects: 2% (6/254) remote: Compressing objects: 3% (8/254) remote: Compressing objects: 4% (11/254) remote: Compressing objects: 5% (13/254) remote: Compressing objects: 6% (16/254) remote: Compressing objects: 7% (18/254) remote: Compressing objects: 8% (21/254) remote: Compressing objects: 9% (23/254) remote: Compressing objects: 10% (26/254) remote: Compressing objects: 11% (28/254) remote: Compressing objects: 12% (31/254) remote: Compressing objects: 13% (34/254) remote: Compressing objects: 14% (36/254) remote: Compressing objects: 15% (39/254) remote: Compressing objects: 16% (41/254) remote: Compressing objects: 17% (44/254) remote: Compressing objects: 18% (46/254) remote: Compressing objects: 19% (49/254) remote: Compressing objects: 20% (51/254) remote: Compressing objects: 21% (54/254) remote: Compressing objects: 22% (56/254) remote: Compressing objects: 23% (59/254) remote: Compressing objects: 24% (61/254) remote: Compressing objects: 25% (64/254) remote: Compressing objects: 26% (67/254) remote: Compressing objects: 27% (69/254) remote: Compressing objects: 28% (72/254) remote: Compressing objects: 29% (74/254) remote: Compressing objects: 30% (77/254) remote: Compressing objects: 31% (79/254) remote: Compressing objects: 32% (82/254) remote: Compressing objects: 33% (84/254) remote: Compressing objects: 34% (87/254) remote: Compressing objects: 35% (89/254) remote: Compressing objects: 36% (92/254) remote: Compressing objects: 37% (94/254) remote: Compressing objects: 38% (97/254) remote: Compressing objects: 39% (100/254) remote: Compressing objects: 40% (102/254) remote: Compressing objects: 41% (105/254) remote: Compressing objects: 42% (107/254) remote: Compressing objects: 43% (110/254) remote: Compressing objects: 44% (112/254) remote: Compressing objects: 45% (115/254) remote: Compressing objects: 46% (117/254) remote: Compressing objects: 47% (120/254) remote: Compressing objects: 48% (122/254) remote: Compressing objects: 49% (125/254) remote: Compressing objects: 50% (127/254) remote: Compressing objects: 51% (130/254) remote: Compressing objects: 52% (133/254) remote: Compressing objects: 53% (135/254) remote: Compressing objects: 54% (138/254) remote: Compressing objects: 55% (140/254) remote: Compressing objects: 56% (143/254) remote: Compressing objects: 57% (145/254) remote: Compressing objects: 58% (148/254) remote: Compressing objects: 59% (150/254) remote: Compressing objects: 60% (153/254) remote: Compressing objects: 61% (155/254) remote: Compressing objects: 62% (158/254) remote: Compressing objects: 63% (161/254) remote: Compressing objects: 64% (163/254) remote: Compressing objects: 65% (166/254) remote: Compressing objects: 66% (168/254) remote: Compressing objects: 67% (171/254) remote: Compressing objects: 68% (173/254) remote: Compressing objects: 69% (176/254) remote: Compressing objects: 70% (178/254) remote: Compressing objects: 71% (181/254) remote: Compressing objects: 72% (183/254) remote: Compressing objects: 73% (186/254) remote: Compressing objects: 74% (188/254) remote: Compressing objects: 75% (191/254) remote: Compressing objects: 76% (194/254) remote: Compressing objects: 77% (196/254) remote: Compressing objects: 78% (199/254) remote: Compressing objects: 79% (201/254) remote: Compressing objects: 80% (204/254) remote: Compressing objects: 81% (206/254) remote: Compressing objects: 82% (209/254) remote: Compressing objects: 83% (211/254) remote: Compressing objects: 84% (214/254) remote: Compressing objects: 85% (216/254) remote: Compressing objects: 86% (219/254) remote: Compressing objects: 87% (221/254) remote: Compressing objects: 88% (224/254) remote: Compressing objects: 89% (227/254) remote: Compressing objects: 90% (229/254) remote: Compressing objects: 91% (232/254) remote: Compressing objects: 92% (234/254) remote: Compressing objects: 93% (237/254) remote: Compressing objects: 94% (239/254) remote: Compressing objects: 95% (242/254) remote: Compressing objects: 96% (244/254) remote: Compressing objects: 97% (247/254) remote: Compressing objects: 98% (249/254) remote: Compressing objects: 99% (252/254) remote: Compressing objects: 100% (254/254) remote: Compressing objects: 100% (254/254), done. Receiving objects: 0% (1/19455) Receiving objects: 1% (195/19455), 104.01 KiB | 113.00 KiB/s Receiving objects: 1% (272/19455), 256.01 KiB | 149.00 KiB/s Receiving objects: 2% (390/19455), 256.01 KiB | 149.00 KiB/s Receiving objects: 3% (584/19455), 256.01 KiB | 149.00 KiB/s Receiving objects: 3% (625/19455), 384.01 KiB | 149.00 KiB/s Receiving objects: 4% (779/19455), 384.01 KiB | 149.00 KiB/s Receiving objects: 5% (973/19455), 384.01 KiB | 149.00 KiB/s Receiving objects: 6% (1168/19455), 384.01 KiB | 149.00 KiB/s Receiving objects: 6% (1172/19455), 552.01 KiB | 171.00 KiB/s Receiving objects: 7% (1362/19455), 552.01 KiB | 171.00 KiB/s Receiving objects: 8% (1557/19455), 552.01 KiB | 171.00 KiB/s Receiving objects: 9% (1751/19455), 800.01 KiB | 216.00 KiB/s Receiving objects: 9% (1780/19455), 800.01 KiB | 216.00 KiB/s Receiving objects: 9% (1793/19455), 1.13 MiB | 232.00 KiB/s Receiving objects: 9% (1803/19455), 1.27 MiB | 224.00 KiB/s Receiving objects: 9% (1813/19455), 1.69 MiB | 249.00 KiB/s Receiving objects: 9% (1818/19455), 1.81 MiB | 262.00 KiB/s Receiving objects: 9% (1831/19455), 1.98 MiB | 270.00 KiB/s Receiving objects: 9% (1840/19455), 2.27 MiB | 264.00 KiB/s Receiving objects: 9% (1897/19455), 2.54 MiB | 252.00 KiB/s Receiving objects: 10% (1946/19455), 2.54 MiB | 252.00 KiB/s Receiving objects: 10% (1961/19455), 2.81 MiB | 245.00 KiB/s Receiving objects: 10% (1963/19455), 3.04 MiB | 244.00 KiB/s Receiving objects: 10% (1964/19455), 3.20 MiB | 227.00 KiB/s Receiving objects: 10% (2010/19455), 3.38 MiB | 221.00 KiB/s Receiving objects: 11% (2141/19455), 3.57 MiB | 240.00 KiB/s Receiving objects: 11% (2221/19455), 3.71 MiB | 239.00 KiB/s Receiving objects: 11% (2231/19455), 3.94 MiB | 240.00 KiB/s Receiving objects: 11% (2235/19455), 4.38 MiB | 254.00 KiB/s Receiving objects: 11% (2243/19455), 4.58 MiB | 272.00 KiB/s Receiving objects: 11% (2250/19455), 5.09 MiB | 330.00 KiB/s Receiving objects: 11% (2260/19455), 5.38 MiB | 349.00 KiB/s Receiving objects: 11% (2266/19455), 5.92 MiB | 370.00 KiB/s Receiving objects: 11% (2274/19455), 6.23 MiB | 387.00 KiB/s Receiving objects: 11% (2283/19455), 6.91 MiB | 448.00 KiB/s Receiving objects: 11% (2291/19455), 7.18 MiB | 450.00 KiB/s Receiving objects: 11% (2299/19455), 7.97 MiB | 476.00 KiB/s Receiving objects: 11% (2313/19455), 8.38 MiB | 508.00 KiB/s Receiving objects: 11% (2323/19455), 9.20 MiB | 600.00 KiB/s Receiving objects: 11% (2333/19455), 9.50 MiB | 581.00 KiB/s Receiving objects: 12% (2335/19455), 9.50 MiB | 581.00 KiB/s Receiving objects: 12% (2353/19455), 10.70 MiB | 683.00 KiB/s Receiving objects: 12% (2367/19455), 11.61 MiB | 766.00 KiB/s Receiving objects: 12% (2384/19455), 12.17 MiB | 779.00 KiB/s Receiving objects: 12% (2398/19455), 13.35 MiB | 899.00 KiB/s Receiving objects: 12% (2417/19455), 14.52 MiB | 993.00 KiB/s Receiving objects: 12% (2434/19455), 15.39 MiB | 949.00 KiB/s Receiving objects: 12% (2458/19455), 16.48 MiB | 1.04 MiB/s Receiving objects: 13% (2530/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 14% (2724/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 15% (2919/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 16% (3113/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 17% (3308/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 17% (3390/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 18% (3502/19455), 18.54 MiB | 1.26 MiB/s Receiving objects: 19% (3697/19455), 19.87 MiB | 1.28 MiB/s Receiving objects: 20% (3891/19455), 19.87 MiB | 1.28 MiB/s Receiving objects: 20% (4000/19455), 20.71 MiB | 1009.00 KiB/s Receiving objects: 21% (4086/19455), 20.71 MiB | 1009.00 KiB/s Receiving objects: 21% (4273/19455), 25.84 MiB | 1.57 MiB/s Receiving objects: 22% (4281/19455), 26.69 MiB | 1.60 MiB/s Receiving objects: 22% (4285/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 23% (4475/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 23% (4514/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 24% (4670/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 25% (4864/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 26% (5059/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 27% (5253/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 28% (5448/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 29% (5642/19455), 27.52 MiB | 1.48 MiB/s Receiving objects: 29% (5833/19455), 30.25 MiB | 1.58 MiB/s Receiving objects: 30% (5837/19455), 30.25 MiB | 1.58 MiB/s Receiving objects: 30% (5865/19455), 32.41 MiB | 1.69 MiB/s Receiving objects: 31% (6032/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 32% (6226/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 33% (6421/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 34% (6615/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 35% (6810/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 36% (7004/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 37% (7199/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 38% (7393/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 39% (7588/19455), 33.23 MiB | 1.69 MiB/s Receiving objects: 39% (7675/19455), 34.82 MiB | 1.73 MiB/s Receiving objects: 39% (7685/19455), 36.05 MiB | 2.08 MiB/s Receiving objects: 39% (7688/19455), 36.05 MiB | 2.08 MiB/s Receiving objects: 40% (7782/19455), 37.17 MiB | 1.58 MiB/s Receiving objects: 41% (7977/19455), 37.17 MiB | 1.58 MiB/s Receiving objects: 41% (7979/19455), 41.09 MiB | 2.03 MiB/s Receiving objects: 41% (8024/19455), 44.35 MiB | 2.13 MiB/s Receiving objects: 41% (8051/19455), 46.16 MiB | 2.42 MiB/s Receiving objects: 42% (8172/19455), 47.02 MiB | 2.25 MiB/s Receiving objects: 43% (8366/19455), 47.02 MiB | 2.25 MiB/s Receiving objects: 43% (8387/19455), 49.27 MiB | 2.46 MiB/s Receiving objects: 43% (8405/19455), 50.23 MiB | 2.41 MiB/s Receiving objects: 44% (8561/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 45% (8755/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 46% (8950/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 47% (9144/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 48% (9339/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 49% (9533/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 50% (9728/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 51% (9923/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 52% (10117/19455), 51.48 MiB | 2.81 MiB/s Receiving objects: 53% (10312/19455), 52.82 MiB | 2.81 MiB/s Receiving objects: 54% (10506/19455), 52.82 MiB | 2.81 MiB/s Receiving objects: 55% (10701/19455), 52.82 MiB | 2.81 MiB/s Receiving objects: 55% (10845/19455), 53.54 MiB | 2.29 MiB/s Receiving objects: 55% (10845/19455), 57.15 MiB | 2.44 MiB/s Receiving objects: 55% (10845/19455), 57.70 MiB | 2.19 MiB/s Receiving objects: 55% (10857/19455), 60.56 MiB | 2.13 MiB/s Receiving objects: 56% (10895/19455), 60.56 MiB | 2.13 MiB/s Receiving objects: 57% (11090/19455), 60.56 MiB | 2.13 MiB/s Receiving objects: 58% (11284/19455), 62.61 MiB | 2.29 MiB/s Receiving objects: 58% (11313/19455), 62.61 MiB | 2.29 MiB/s Receiving objects: 59% (11479/19455), 62.61 MiB | 2.29 MiB/s Receiving objects: 59% (11671/19455), 64.19 MiB | 2.27 MiB/s Receiving objects: 60% (11673/19455), 64.19 MiB | 2.27 MiB/s Receiving objects: 61% (11868/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 62% (12063/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 63% (12257/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 64% (12452/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 65% (12646/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 66% (12841/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 67% (13035/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 68% (13230/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 69% (13424/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 70% (13619/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 71% (13814/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 72% (14008/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 73% (14203/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 74% (14397/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 75% (14592/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 76% (14786/19455), 66.41 MiB | 2.39 MiB/s Receiving objects: 76% (14944/19455), 69.55 MiB | 2.60 MiB/s Receiving objects: 76% (14944/19455), 72.88 MiB | 2.83 MiB/s Receiving objects: 76% (14944/19455), 74.16 MiB | 2.72 MiB/s Receiving objects: 76% (14944/19455), 77.11 MiB | 2.86 MiB/s Receiving objects: 77% (14981/19455), 78.20 MiB | 2.93 MiB/s Receiving objects: 77% (15101/19455), 80.28 MiB | 2.81 MiB/s Receiving objects: 77% (15101/19455), 83.24 MiB | 2.75 MiB/s Receiving objects: 77% (15101/19455), 84.02 MiB | 2.49 MiB/s Receiving objects: 77% (15101/19455), 87.21 MiB | 2.46 MiB/s Receiving objects: 77% (15101/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 78% (15175/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 79% (15370/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 80% (15564/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 81% (15759/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 82% (15954/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 83% (16148/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 84% (16343/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 85% (16537/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 86% (16732/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 87% (16926/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 88% (17121/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 89% (17315/19455), 89.60 MiB | 2.29 MiB/s Receiving objects: 89% (17404/19455), 91.99 MiB | 2.52 MiB/s Receiving objects: 89% (17407/19455), 94.98 MiB | 2.35 MiB/s Receiving objects: 89% (17407/19455), 98.75 MiB | 2.81 MiB/s Receiving objects: 89% (17414/19455), 100.65 MiB | 2.92 MiB/s Receiving objects: 90% (17510/19455), 100.65 MiB | 2.92 MiB/s Receiving objects: 91% (17705/19455), 100.65 MiB | 2.92 MiB/s Receiving objects: 92% (17899/19455), 100.65 MiB | 2.92 MiB/s Receiving objects: 93% (18094/19455), 102.42 MiB | 2.96 MiB/s Receiving objects: 94% (18288/19455), 102.42 MiB | 2.96 MiB/s Receiving objects: 95% (18483/19455), 102.42 MiB | 2.96 MiB/s Receiving objects: 96% (18677/19455), 102.42 MiB | 2.96 MiB/s Receiving objects: 96% (18785/19455), 103.95 MiB | 3.17 MiB/s Receiving objects: 97% (18872/19455), 103.95 MiB | 3.17 MiB/s Receiving objects: 98% (19066/19455), 103.95 MiB | 3.17 MiB/s Receiving objects: 99% (19261/19455), 103.95 MiB | 3.17 MiB/s remote: Total 19455 (delta 355), reused 247 (delta 238), pack-reused 18963 (from 4) Receiving objects: 100% (19455/19455), 103.95 MiB | 3.17 MiB/s Receiving objects: 100% (19455/19455), 104.70 MiB | 1.43 MiB/s, done. Resolving deltas: 0% (0/13308) Resolving deltas: 1% (134/13308) Resolving deltas: 2% (267/13308) Resolving deltas: 3% (400/13308) Resolving deltas: 4% (533/13308) Resolving deltas: 5% (666/13308) Resolving deltas: 6% (799/13308) Resolving deltas: 7% (932/13308) Resolving deltas: 8% (1065/13308) Resolving deltas: 9% (1199/13308) Resolving deltas: 10% (1331/13308) Resolving deltas: 11% (1464/13308) Resolving deltas: 12% (1597/13308) Resolving deltas: 13% (1731/13308) Resolving deltas: 14% (1864/13308) Resolving deltas: 15% (1998/13308) Resolving deltas: 16% (2130/13308) Resolving deltas: 17% (2263/13308) Resolving deltas: 18% (2396/13308) Resolving deltas: 19% (2529/13308) Resolving deltas: 20% (2662/13308) Resolving deltas: 21% (2795/13308) Resolving deltas: 22% (2928/13308) Resolving deltas: 23% (3061/13308) Resolving deltas: 24% (3194/13308) Resolving deltas: 25% (3327/13308) Resolving deltas: 26% (3461/13308) Resolving deltas: 27% (3594/13308) Resolving deltas: 28% (3727/13308) Resolving deltas: 29% (3860/13308) Resolving deltas: 30% (3993/13308) Resolving deltas: 31% (4126/13308) Resolving deltas: 32% (4259/13308) Resolving deltas: 33% (4392/13308) Resolving deltas: 34% (4525/13308) Resolving deltas: 35% (4658/13308) Resolving deltas: 36% (4791/13308) Resolving deltas: 37% (4924/13308) Resolving deltas: 38% (5058/13308) Resolving deltas: 39% (5191/13308) Resolving deltas: 40% (5324/13308) Resolving deltas: 41% (5457/13308) Resolving deltas: 42% (5590/13308) Resolving deltas: 43% (5723/13308) Resolving deltas: 44% (5856/13308) Resolving deltas: 45% (5989/13308) Resolving deltas: 46% (6122/13308) Resolving deltas: 47% (6255/13308) Resolving deltas: 48% (6388/13308) Resolving deltas: 49% (6521/13308) Resolving deltas: 50% (6654/13308) Resolving deltas: 51% (6788/13308) Resolving deltas: 52% (6921/13308) Resolving deltas: 53% (7054/13308) Resolving deltas: 54% (7187/13308) Resolving deltas: 55% (7320/13308) Resolving deltas: 56% (7453/13308) Resolving deltas: 57% (7586/13308) Resolving deltas: 58% (7719/13308) Resolving deltas: 59% (7852/13308) Resolving deltas: 60% (7985/13308) Resolving deltas: 61% (8118/13308) Resolving deltas: 62% (8251/13308) Resolving deltas: 63% (8385/13308) Resolving deltas: 64% (8518/13308) Resolving deltas: 65% (8651/13308) Resolving deltas: 66% (8784/13308) Resolving deltas: 67% (8917/13308) Resolving deltas: 68% (9050/13308) Resolving deltas: 69% (9183/13308) Resolving deltas: 70% (9318/13308) Resolving deltas: 71% (9449/13308) Resolving deltas: 72% (9582/13308) Resolving deltas: 73% (9715/13308) Resolving deltas: 74% (9848/13308) Resolving deltas: 75% (9981/13308) Resolving deltas: 76% (10115/13308) Resolving deltas: 77% (10248/13308) Resolving deltas: 78% (10381/13308) Resolving deltas: 79% (10514/13308) Resolving deltas: 80% (10647/13308) Resolving deltas: 81% (10780/13308) Resolving deltas: 82% (10913/13308) Resolving deltas: 83% (11046/13308) Resolving deltas: 84% (11179/13308) Resolving deltas: 85% (11312/13308) Resolving deltas: 86% (11445/13308) Resolving deltas: 87% (11578/13308) Resolving deltas: 88% (11712/13308) Resolving deltas: 89% (11845/13308) Resolving deltas: 90% (11978/13308) Resolving deltas: 91% (12111/13308) Resolving deltas: 92% (12244/13308) Resolving deltas: 93% (12377/13308) Resolving deltas: 94% (12510/13308) Resolving deltas: 95% (12643/13308) Resolving deltas: 96% (12776/13308) Resolving deltas: 97% (12909/13308) Resolving deltas: 98% (13042/13308) Resolving deltas: 99% (13175/13308) Resolving deltas: 100% (13308/13308) Resolving deltas: 100% (13308/13308), done.  ->(B Found deepin-log-viewer-6.5.43-build.patch(B  ->(B Found deepin-log-viewer-6.5.43-arch.patch(B ==>(B Validating source files with sha512sums...(B deepin-log-viewer ... Passed deepin-log-viewer-6.5.43-build.patch ... Passed deepin-log-viewer-6.5.43-arch.patch ... Passed ]3008;end=64ff300073624511b1e19948f9fecfa0\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=b5c2cfc58833415f974c6b7dcedc56dc;user=root;hostname=centiskorch.felixc.at;machineid=1a94f69a1f9e480395692a8eaa8e4813;bootid=a2393ad9b1bf4b4480e895f3d40a1c3e;pid=43953;pidfdid=43954;comm=systemd-nspawn;container=makechrootpkg-deepin-log-viewer.build.42037;type=container\]11;?\]2;🔵 Container makechrootpkg-deepin-log-viewer.build.42037 on centiskorch.felixc.at\]3008;start=c0b7cb6688164e568631cd02b71bedce;user=root;hostname=makechrootpkg-deepin-log-viewer.build.42037;machineid=7331c9cbdc874ceba083a6287cf059e2;bootid=410cc93f660e45a79b2b8b73d804af36;pid=14;pidfdid=44043;comm=sudo;targetuser=builduser;type=session\==>(B Making package: deepin-log-viewer 6.5.43-1 (Fri Nov 6 01:52:42 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=046f65eb257b4980a265a5be5ac50430;user=builduser;hostname=makechrootpkg-deepin-log-viewer.build.42037;machineid=7331c9cbdc874ceba083a6287cf059e2;bootid=410cc93f660e45a79b2b8b73d804af36;pid=1421;pidfdid=45536;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (140) New Version Net Change Download Size extra/avahi 1:0.9rc5-2 1.81 MiB extra/bubblewrap 0.13.1-1 0.09 MiB extra/cairo 1.18.6-1 1.59 MiB extra/dav1d 1.5.4-1 0.71 MiB extra/dconf 51.0-1 0.44 MiB extra/deepin-desktop-base 2:2026.10.28-1 0.05 MiB extra/default-cursors 3-1 0.00 MiB extra/double-conversion 3.4.0-1 0.17 MiB extra/dtk6log 6.7.52-1 0.16 MiB extra/dtkcommon 6.7.52-1 0.01 MiB extra/duktape 2.7.0-7 0.78 MiB extra/fmt 12.2.0-1 0.71 MiB extra/fontconfig 2:2.18.3-2 1.28 MiB extra/freeglut 3.8.0-1 0.45 MiB extra/freetype2 2.15.0-1 1.66 MiB extra/fribidi 1.0.18-1 0.25 MiB extra/gdk-pixbuf2 2.44.8-1 2.99 MiB extra/giflib 6.1.3-2 0.30 MiB extra/glibmm 2.66.10-1 5.82 MiB extra/glu 9.0.3-3 0.31 MiB extra/glycin 2.2.6-1 21.13 MiB extra/gperftools 2.19.2-1 2.01 MiB extra/graphite 1:1.3.15-1 0.18 MiB extra/gtest 1.18.0-1 1.57 MiB extra/harfbuzz 15.1.0-1 5.33 MiB extra/highway 1.4.0-1 4.57 MiB extra/jasper 4.2.9-1 0.62 MiB extra/jbigkit 2.2-1 0.14 MiB extra/json-glib 1.10.8-1 1.01 MiB extra/lcms2 2.20-1 0.67 MiB extra/libatasmart 0.19-8 0.09 MiB extra/libb2 0.98.1-3 0.05 MiB extra/libblockdev 3.5.0-2 3.65 MiB extra/libblockdev-crypto 3.5.0-2 0.08 MiB extra/libblockdev-fs 3.5.0-2 0.13 MiB extra/libblockdev-loop 3.5.0-2 0.02 MiB extra/libblockdev-mdraid 3.5.0-2 0.03 MiB extra/libblockdev-nvme 3.5.0-2 0.07 MiB extra/libblockdev-part 3.5.0-2 0.04 MiB extra/libblockdev-smart 3.5.0-2 0.12 MiB extra/libblockdev-swap 3.5.0-2 0.02 MiB extra/libbytesize 2.12-3 0.09 MiB extra/libcups 2:2.4.20-1 0.83 MiB extra/libdaemon 0.14-6 0.05 MiB extra/libdatrie 0.2.14-1 0.48 MiB extra/libdeflate 1.26-1 0.10 MiB extra/libdrm 2.4.134-1 1.23 MiB core/libedit 20260512_3.1-1 0.26 MiB extra/libevdev 1.14.0-1 0.24 MiB extra/libglvnd 1.7.0-3 3.99 MiB extra/libgudev 238-4 0.17 MiB extra/libice 1.1.2-1 0.35 MiB extra/libinput 1.32.0-1 0.72 MiB extra/libjpeg-turbo 3.2.1-1 2.24 MiB extra/libjxl 0.12.0-1 9.72 MiB extra/libmng 2.0.3-4 0.65 MiB extra/libnvme 1.16.2-2 1.73 MiB extra/libpciaccess 0.19-1 0.05 MiB extra/libpng 1.6.59-1 0.54 MiB extra/libproxy 0.5.12-1 0.08 MiB extra/libqtxdg 4.5.0-1 0.48 MiB extra/librsvg 2:2.63.4-1 9.69 MiB extra/libsigc++ 2.12.2-1 1.13 MiB extra/libsm 1.2.6-1 0.26 MiB extra/libthai 0.1.30-1 1.24 MiB extra/libtiff 4.7.2-2 1.18 MiB extra/libunwind 1.8.3-1 0.26 MiB extra/liburing 2.15-1 0.46 MiB extra/libwacom 2.20.0-1 1.60 MiB extra/libwebp 1.6.0-2 0.64 MiB extra/libx11 1.8.14-1 9.78 MiB extra/libxau 1.0.12-1 0.02 MiB extra/libxcb 1.17.0-1 3.69 MiB extra/libxdmcp 1.1.5-2 0.13 MiB extra/libxext 1.3.7-1 0.30 MiB extra/libxfixes 6.0.2-1 0.03 MiB extra/libxft 2.3.9-1 0.12 MiB extra/libxi 1.8.4-1 0.40 MiB extra/libxkbcommon 1.13.2-1 0.98 MiB extra/libxkbcommon-x11 1.13.2-1 0.09 MiB extra/libxrandr 1.5.5-1 0.07 MiB extra/libxrender 0.9.13-1 0.09 MiB extra/libxshmfence 1.3.3-1 0.01 MiB extra/libxxf86vm 1.1.7-1 0.03 MiB extra/llvm-libs 23.1.4-1 157.98 MiB extra/lm_sensors 1:3.6.2-1 0.43 MiB extra/lua54 5.4.9-1 1.46 MiB core/lzo 2.10-5 0.34 MiB extra/md4c 0.6.0-2 0.25 MiB core/mdadm 4.6-2 0.97 MiB extra/mesa 1:26.2.6-1 51.46 MiB extra/mtdev 1.1.7-1 0.05 MiB core/nspr 4.40-1 0.71 MiB core/nss 3.133-1 4.95 MiB extra/pango 1:1.58.2-1 2.37 MiB extra/parted 3.8-1 2.67 MiB extra/pixman 0.46.4-1 0.48 MiB extra/qt6-imageformats 6.12.0-1 0.24 MiB extra/qt6-shadertools 6.12.0-1 4.78 MiB extra/qt6-translations 6.12.0-1 15.91 MiB extra/shared-mime-info 2.5.1-2 5.81 MiB extra/spdlog 1.17.0-2 0.67 MiB extra/spirv-tools 1:1.4.363.0-1 7.18 MiB extra/startup-notification 0.12-9 0.06 MiB extra/tslib 1.24-1 0.34 MiB extra/uchardet 0.0.8-4 0.21 MiB extra/volume_key 0.3.12-12 0.68 MiB extra/wayland 1.26.0-1 0.84 MiB extra/xcb-proto 1.17.0-4 1.03 MiB extra/xcb-util 0.4.1-2 0.03 MiB extra/xcb-util-cursor 0.1.6-1 0.02 MiB extra/xcb-util-image 0.4.1-3 0.05 MiB extra/xcb-util-keysyms 0.4.1-5 0.01 MiB extra/xcb-util-renderutil 0.3.10-2 0.02 MiB extra/xcb-util-wm 0.4.2-2 0.21 MiB extra/xdg-utils 1.2.1-2 0.30 MiB extra/xkeyboard-config 2.49-1 10.37 MiB extra/xorgproto 2026.1-1 1.47 MiB extra/deepin-qt6integration 6.7.51-3 0.72 MiB extra/dmidecode 3.7-1 0.19 MiB extra/dtk6core 1:6.7.52-1 4.23 MiB extra/dtk6gui 1:6.7.52-1 3.55 MiB extra/dtk6widget 1:6.7.52-1 27.81 MiB extra/gio-qt 0.0.16-1 0.67 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/libxlsxwriter 1.2.4-1 0.90 MiB 0.23 MiB extra/lsb-release 2.0.r55.a25a4fc-1 0.02 MiB extra/lshw B.02.20-3 7.92 MiB core/minizip 1:1.3.2-4 0.09 MiB core/pciutils 3.15.0-1 0.38 MiB extra/polkit 128-1 1.95 MiB extra/polkit-qt6 0.201.1-1 0.34 MiB core/procps-ng 4.0.7-1 2.56 MiB extra/qt6-5compat 6.12.0-1 2.46 MiB extra/qt6-base 6.12.0-3 73.34 MiB extra/qt6-svg 6.12.0-1 0.99 MiB extra/udisks2 2.11.2-1 7.97 MiB extra/unzip 6.0-23 0.28 MiB extra/xerces-c 3.3.0-4 8.02 MiB extra/zip 3.0-14 0.54 MiB Total Download Size: 0.23 MiB Total Installed Size: 536.63 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libxlsxwriter-1.2.4-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing deepin-desktop-base... installing dconf... installing dtkcommon... installing double-conversion... installing libpng... installing freetype2... Optional dependencies for freetype2 harfbuzz: Improved autohinting [pending] installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing libb2... installing libdaemon... installing avahi... Optional dependencies for avahi avahi-bookmarks: avahi-bookmarks avahi-gtk: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc nss-mdns: NSS support for mDNS python-dbus: Python bindings installing libcups... installing libpciaccess... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool [pending] installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing libx11... installing libxext... installing libxshmfence... installing libxxf86vm... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing spirv-tools... installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme installing wayland... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing libglvnd... installing libice... installing libevdev... installing libgudev... installing libwacom... Optional dependencies for libwacom python-libevdev: for libwacom-show-stylus python-pyudev: for libwacom-show-stylus installing lua54... installing mtdev... installing libinput... Optional dependencies for libinput libinput-tools: debug utilities installing libjpeg-turbo... installing duktape... installing libproxy... installing libsm... installing liburing... installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 [pending] wayland: xkbcli interactive-wayland [installed] installing libxkbcommon-x11... installing md4c... installing shared-mime-info... installing tslib... installing xcb-util-renderutil... installing xcb-util... installing xcb-util-image... installing xcb-util-cursor... installing xcb-util-keysyms... installing xcb-util-wm... installing xdg-utils... Optional dependencies for xdg-utils kde-cli-tools: for KDE Plasma5 support in xdg-open exo: for Xfce support in xdg-open pcmanfm: for LXDE support in xdg-open perl-file-mimeinfo: for generic support in xdg-open perl-net-dbus: Perl extension to dbus used in xdg-screensaver perl-x11-protocol: Perl X11 protocol used in xdg-screensaver xorg-xset: for X11 support in xdg-screensaver xorg-xprop: for X11 support in xdg-screensaver installing qt6-translations... installing qt6-base... Optional dependencies for qt6-base freetds: MS SQL driver gdk-pixbuf2: GTK platform plugin [pending] gtk3: GTK platform plugin libfbclient: Firebird/iBase driver mariadb-libs: MariaDB driver pango: GTK platform plugin [pending] perl: for syncqt [installed] postgresql-libs: PostgreSQL driver unixodbc: ODBC driver installing fmt... installing spdlog... installing dtk6log... installing lshw... Optional dependencies for lshw gtk3 installing uchardet... installing dtk6core... installing qt6-svg... installing libqtxdg... Optional dependencies for libqtxdg xterm: the default terminal for running .desktop files installing libxrender... installing lzo... installing pixman... installing cairo... installing dav1d... Optional dependencies for dav1d dav1d-doc: HTML documentation installing bubblewrap... installing jbigkit... installing libdeflate... installing libwebp... Optional dependencies for libwebp libwebp-utils: WebP conversion and inspection tools installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt [pending] installing lcms2... installing giflib... installing libunwind... installing gperftools... installing gtest... Optional dependencies for gtest python: gmock generator [installed] installing highway... installing libjxl... Optional dependencies for libjxl java-runtime: for JNI bindings installing glycin... Optional dependencies for glycin libheif: Load .avif, .heic and .heif installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libheif: Load .avif, .heic and .heif libopenraw: Load .arw, .cr2, .crw, .dng, .erf, .mrw, .nef, .orf, .pef and .raf libwmf: Load .apm and .wmf installing fribidi... installing libdatrie... installing libthai... installing libxft... installing pango... installing librsvg... installing dtk6gui... installing libxfixes... installing libxi... installing glu... installing libxrandr... installing freeglut... installing jasper... Optional dependencies for jasper jasper-doc: documentation installing libmng... installing qt6-imageformats... installing startup-notification... installing dtk6widget... installing deepin-qt6integration... installing dmidecode... installing libsigc++... installing glibmm... installing gio-qt... installing hicolor-icon-theme... installing minizip... installing libxlsxwriter... installing lsb-release... installing pciutils... Optional dependencies for pciutils which: for update-pciids [installed] grep: for update-pciids [installed] curl: for update-pciids [installed] installing polkit... installing polkit-qt6... installing procps-ng... installing qt6-shadertools... installing qt6-5compat... Optional dependencies for qt6-5compat qt6-declarative: for QtGraphicalEffects installing libblockdev... Optional dependencies for libblockdev libblockdev-btrfs: for BTRFS support libblockdev-crypto: for crypto support [pending] libblockdev-dm: for device-mapper support libblockdev-fs: for filesystem support [pending] libblockdev-loop: for loop device support [pending] libblockdev-lvm: for LVM support libblockdev-mdraid: for MDRAID support [pending] libblockdev-mpath: for multipath support libblockdev-nvdimm: for NVDIMM support libblockdev-nvme: for NVME support [pending] libblockdev-part: for partitioning support [pending] libblockdev-smart: for S.M.A.R.T. support [pending] libblockdev-swap: for swap support [pending] python-libblockdev: for Python support installing nspr... installing nss... installing volume_key... Optional dependencies for volume_key python-volume_key: for Python bindings installing libblockdev-crypto... installing libbytesize... Optional dependencies for libbytesize python: for Python bindings and for the bscalc command [installed] installing parted... installing libblockdev-fs... Optional dependencies for libblockdev-fs btrfs-progs: for BTRFS filesystem support dosfstools: for VFAT filesystem support exfatprogs: for exFAT filesystem support f2fs-tools: for F2FS filesystem support nilfs-utils: for nilfs filesystem support ntfsprogs: for NTFS filesystem support udftools: for UDF filesystem support xfsprogs: for XFS filesystem support installing mdadm... Optional dependencies for mdadm bash: mdcheck [installed] installing libblockdev-mdraid... installing libblockdev-loop... installing libnvme... installing libblockdev-nvme... installing libblockdev-part... installing json-glib... installing libatasmart... installing libblockdev-smart... Optional dependencies for libblockdev-smart smartmontools: for experimental smartmontools-based plugin installing libblockdev-swap... installing udisks2... Optional dependencies for udisks2 udisks2-btrfs: for BTRFS module udisks2-lvm2: for LVM2 module udisks2-docs: API documentation btrfs-progs: for BTRFS support in libblockdev-fs dosfstools: for FAT support in libblockdev-fs exfatprogs: for exFAT support in libblockdev-fs e2fsprogs: for Ext2/3/4 support in libblockdev-fs [installed] f2fs-tools: for F2FS support in libblockdev-fs less: for default pager of the udisksctl dump command nilfs-utils: for NILFS support in libblockdev-fs udftools: for UDF support in libblockdev-fs xfsprogs: for XFS support in libblockdev-fs installing unzip... installing xerces-c... installing zip... :: Running post-transaction hooks... ( 1/13) Creating system user accounts... Creating group 'polkitd' with GID 102. Creating group 'avahi' with GID 969. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 969 and GID 969. Creating user 'polkitd' (User for polkitd) with UID 102 and GID 102. ( 2/13) Creating temporary files... ( 3/13) Updating udev hardware database... ( 4/13) Reloading system manager configuration... Skipped: Current root is not booted. ( 5/13) Reloading user manager configuration... Skipped: Current root is not booted. ( 6/13) Updating the MIME type database... ( 7/13) Reloading device manager configuration... Skipped: Current root is not booted. ( 8/13) Arming ConditionNeedsUpdate... ( 9/13) Updating fontconfig configuration... (10/13) Reloading system bus configuration... Skipped: Current root is not booted. (11/13) Updating fontconfig cache... (12/13) Updating GIO module cache... (13/13) Updating the info directory file... [?25h]3008;end=046f65eb257b4980a265a5be5ac50430\==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=92924c4a679d41279ee29eccebc6b969;user=builduser;hostname=makechrootpkg-deepin-log-viewer.build.42037;machineid=7331c9cbdc874ceba083a6287cf059e2;bootid=410cc93f660e45a79b2b8b73d804af36;pid=2074;pidfdid=46263;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (30) New Version Net Change Download Size extra/cppdap 1.58.0-3 1.57 MiB extra/gumbo-parser 0.14.1-1 0.33 MiB extra/jsoncpp 1.9.8-1 5.69 MiB extra/libuv 1.53.0-1 0.65 MiB extra/litehtml 0.10-2 1.43 MiB extra/perl-alien-build 2.88-1 0.75 MiB 0.35 MiB extra/perl-alien-libxml2 0.20-6 0.01 MiB 0.01 MiB extra/perl-capture-tiny 0.50-4 0.03 MiB 0.02 MiB extra/perl-config-tiny 2.30-2 0.02 MiB 0.01 MiB extra/perl-error 0.17031-1 0.04 MiB extra/perl-ffi-checklib 0.31-8 0.03 MiB 0.02 MiB extra/perl-file-chdir 0.1011-6 0.01 MiB 0.01 MiB extra/perl-file-which 1.27-8 0.02 MiB 0.01 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-path-tiny 0.150-2 0.10 MiB 0.04 MiB extra/perl-timedate 2.35-1 0.15 MiB extra/perl-xml-libxml 2.0213-2 2.03 MiB 0.70 MiB extra/perl-xml-namespacesupport 1.12-6 0.02 MiB 0.01 MiB extra/perl-xml-sax 1.02-2 0.10 MiB 0.04 MiB extra/perl-xml-sax-base 1.09-6 0.16 MiB 0.02 MiB extra/rhash 1.4.6-1 0.35 MiB extra/zlib-ng 2.3.3-1 0.23 MiB extra/boost 1.92.0-1 151.02 MiB extra/cmake 4.4.5-1 88.38 MiB extra/deepin-gettext-tools 1.0.11-2 0.02 MiB 0.01 MiB extra/git 2.56.0-1 32.07 MiB extra/ninja 1.13.2-3 0.36 MiB extra/qt6-declarative 6.12.0-4 550.43 MiB extra/qt6-tools 6.12.0-1 20.85 MiB extra/rapidjson 1.1.0-6 0.62 MiB Total Download Size: 1.25 MiB Total Installed Size: 857.58 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... perl-xml-libxml-2.0213-2-riscv64 downloading... perl-alien-build-2.88-1-any downloading... perl-path-tiny-0.150-2-any downloading... perl-xml-sax-1.02-2-any downloading... perl-xml-sax-base-1.09-6-any downloading... perl-capture-tiny-0.50-4-any downloading... perl-ffi-checklib-0.31-8-any downloading... perl-config-tiny-2.30-2-any downloading... perl-file-which-1.27-8-any downloading... perl-xml-namespacesupport-1.12-6-any downloading... perl-file-chdir-0.1011-6-any downloading... perl-alien-libxml2-0.20-6-any downloading... deepin-gettext-tools-1.0.11-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing boost... Optional dependencies for boost python: for python bindings [installed] installing cppdap... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator [pending] qt6-base: cmake-gui [installed] installing perl-config-tiny... installing perl-capture-tiny... installing perl-ffi-checklib... installing perl-file-chdir... installing perl-file-which... installing perl-path-tiny... installing perl-alien-build... installing perl-alien-libxml2... installing perl-xml-sax-base... installing perl-xml-namespacesupport... installing perl-xml-sax... installing perl-xml-libxml... :: Installing SAX XML Parsers installing deepin-gettext-tools... installing ninja... installing qt6-declarative... Optional dependencies for qt6-declarative qt6-svg: for QtQuickVectorImage and svgtoqml [installed] installing gumbo-parser... installing litehtml... installing qt6-tools... Optional dependencies for qt6-tools clang: for qdoc and lupdate qt6-declarative: for qdistancefieldgenerator, qdoc and lupdate [installed] installing rapidjson... :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'git' with GID 968. Creating user 'git' (git daemon user) with UID 968 and GID 968. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Updating the MIME type database... (4/5) Arming ConditionNeedsUpdate... (5/5) Checking for old perl modules... WARNING: '/usr/lib/perl5/5.42' contains data from at least 5 packages which will NOT be used by the installed perl interpreter. -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.42' [?25h]3008;end=92924c4a679d41279ee29eccebc6b969\==>(B Retrieving sources...(B  ->(B Found deepin-log-viewer-6.5.43-build.patch(B  ->(B Found deepin-log-viewer-6.5.43-arch.patch(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Creating working copy of deepin-log-viewer git repo...(B Cloning into 'deepin-log-viewer'... done. Switched to a new branch 'makepkg' ==>(B Starting prepare()...(B ==>(B Starting build()...(B CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is GNU 16.2.1 -- The CXX compiler identification is GNU 16.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE >>> Found Qt version: 6 >>> Build with DTK: 6 policy2ts_var 0 policy2ts_out policyFile: assets/com.deepin.pkexec.logViewerAuth.policy.tmp outputTsFile: ../translations/policy/auth/policy.ts policy2ts_error /usr/bin/deepin-policy-ts-convert:79: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if action.get_desc_src(): ts2policy_var 0 ts2policy_out policyFile: assets/com.deepin.pkexec.logViewerAuth.policy.tmp tsDir: ../translations/policy/auth outputPolicyFile: assets/com.deepin.pkexec.logViewerAuth.policy ts2policy_error policy2ts_var 0 policy2ts_out policyFile: assets/com.deepin.pkexec.logViewerTruncate.policy.tmp outputTsFile: ../translations/policy/truncate/policy.ts policy2ts_error /usr/bin/deepin-policy-ts-convert:79: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if action.get_desc_src(): ts2policy_var 0 ts2policy_out policyFile: assets/com.deepin.pkexec.logViewerTruncate.policy.tmp tsDir: ../translations/policy/truncate outputPolicyFile: assets/com.deepin.pkexec.logViewerTruncate.policy ts2policy_error -- Found PkgConfig: /usr/bin/pkg-config (found version "3.0.10") -- RapidJSON found. Headers: /usr/include CMake Warning (policy) at application/CMakeLists.txt:93 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Found Boost: /usr/lib/cmake/Boost-1.92.0/BoostConfig.cmake (found version "1.92.0") -- Found XercesC: /usr/lib/libxerces-c.so (found version "3.3.0") -- Found ZLIB: /usr/lib/libz.so (found version "1.3.2") -- Checking for module 'gio-qt6' -- Found gio-qt6, version 0.0.16 -- Checking for module 'minizip' -- Found minizip, version 1.3.2 -- Checking for module 'xlsxwriter' -- Found xlsxwriter, version 1.2.4 >>> Build with DTK: 6 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/libOpenGL.so -- Found WrapOpenGL: TRUE -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Found Cups: /usr/lib/libcups.so (found version "2.4.20") XercesC_FOUND TRUE zlib version: /usr/lib/libz.so Scanning directory '/build/deepin-log-viewer/src/deepin-log-viewer'... Updating 'deepin-log-viewer/translations/deepin-log-viewer.ts'... Found 135 source text(s) (0 new and 135 already existing) Kept 6 obsolete entries ZLIB_INCLUDE_DIRS /usr/include -- NOT found lrelease, set QT_LRELEASE = /lib/qt6/bin/lrelease -- DConfig is supported by DTK CMake Warning (deprecated) at logViewerAuth/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. CMake Warning (deprecated) at logViewerTruncate/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. CMake Warning (deprecated) at logViewerService/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- RapidJSON found. Headers: /usr/include CMake Warning (policy) at tests/CMakeLists.txt:60 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Found GTest: /usr/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0") -- RapidJSON found. Headers: /usr/include CMake Warning (policy) at liblogviewerplugin/CMakeLists.txt:42 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) ZLIB_INCLUDE_DIRS /usr/include -- Configuring done (23.8s) -- Generating done (1.2s) -- Build files have been written to: /build/deepin-log-viewer/src/build [1/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer.qm'... Generated 135 translation(s) (135 finished and 0 unfinished) [2/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ady.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ady.qm'... Generated 139 translation(s) (139 finished and 0 unfinished) [3/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_af.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_af.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [4/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ak.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ak.qm'... Generated 139 translation(s) (139 finished and 0 unfinished) [5/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_am_ET.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_am_ET.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [6/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ar.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ar.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [7/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ast.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ast.qm'... Generated 139 translation(s) (139 finished and 0 unfinished) [8/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_az.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_az.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [9/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_bg.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_bg.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [10/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_bn.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_bn.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [11/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_bo.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_bo.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [12/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_bqi.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_bqi.qm'... Generated 139 translation(s) (139 finished and 0 unfinished) [13/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_br.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_br.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [14/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ca.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ca.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [15/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_cs.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_cs.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [16/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_da.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_da.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [17/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_de.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_de.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [18/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_el.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_el.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [19/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_en_AU.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_en_AU.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [20/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_en_CA.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_en_CA.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [21/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_en_GB.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_en_GB.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [22/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_eo.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_eo.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [23/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_es.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_es.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [24/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_et.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_et.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [25/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_fa.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_fa.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [26/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_fi.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_fi.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [27/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_fil.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_fil.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [28/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_fr.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_fr.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [29/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_gl_ES.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_gl_ES.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [30/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_he.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_he.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [31/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_hi_IN.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_hi_IN.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [32/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_hr.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_hr.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [33/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_hu.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_hu.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [34/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_hy.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_hy.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [35/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ia.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ia.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [36/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_id.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_id.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [37/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_it.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_it.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [38/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ka.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ka.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [39/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_km_KH.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_km_KH.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [40/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ja.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ja.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [41/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_kn_IN.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_kn_IN.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [42/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ko.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ko.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [43/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ku.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ku.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [44/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ku_IQ.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ku_IQ.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [45/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ky.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ky.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [46/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ky@Arab.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ky@Arab.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [47/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_la.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_la.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [48/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_lo.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_lo.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [49/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_lt.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_lt.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [50/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_lv.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_lv.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [51/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ml.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ml.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [52/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_mn.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_mn.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [53/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_mr.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_mr.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [54/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ms.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ms.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [55/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_nb.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_nb.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [56/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ne.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ne.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [57/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_nl.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_nl.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [58/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_pa.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_pa.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [59/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_pam.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_pam.qm'... Generated 139 translation(s) (139 finished and 0 unfinished) [60/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_pl.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_pl.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [61/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_pt.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_pt.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [62/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_pt_BR.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_pt_BR.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [63/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ro.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ro.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [64/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ru.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ru.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [65/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sc.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sc.qm'... Generated 139 translation(s) (139 finished and 0 unfinished) [66/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_si.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_si.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [67/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sk.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sk.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [68/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sl.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sl.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [69/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sq.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sq.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [70/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sr.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sr.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [71/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sv.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sv.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [72/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_sw.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_sw.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [73/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ta.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ta.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [74/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_th.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_th.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [75/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_tr.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_tr.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [76/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ur.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ur.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [77/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_ug.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_ug.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [78/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_uk.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_uk.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [79/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_zh_CN.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_zh_CN.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [80/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_uz.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_uz.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [81/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_vi.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_vi.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [82/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_zh_HK.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_zh_HK.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [83/1009] Running /lib/qt6/bin/lrelease on /build/deepin-log-viewer/src/deepin-log-viewer/translations/deepin-log-viewer_zh_TW.ts Updating '/build/deepin-log-viewer/src/build/application/deepin-log-viewer_zh_TW.qm'... Generated 141 translation(s) (141 finished and 0 unfinished) [84/1009] Automatic MOC for target logViewerAuth [85/1009] Automatic MOC for target logViewerTruncate [86/1009] Building CXX object logViewerAuth/CMakeFiles/logViewerAuth.dir/logViewerAuth_autogen/mocs_compilation.cpp.o [87/1009] Building CXX object logViewerTruncate/CMakeFiles/logViewerTruncate.dir/logViewerTruncate_autogen/mocs_compilation.cpp.o [88/1009] Automatic MOC for target log-view-service [89/1009] Automatic MOC and UIC for target logviewerplugin [90/1009] Automatic MOC for target deepin-log-viewer [91/1009] Automatic RCC for assets/resources.qrc [92/1009] Automatic MOC for target deepin-log-viewer-test [93/1009] Automatic MOC for target deepin-log-viewer-plugin-test [94/1009] Automatic RCC for ../application/assets/resources.qrc [95/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinterException.cpp.o [96/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConversionNotSupportedException.cpp.o [97/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OleException.cpp.o [98/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ExportFormatNotSupportedException.cpp.o [99/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilFailedException.cpp.o [100/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilNotFoundException.cpp.o [101/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/PrintingNotSupportedException.cpp.o [102/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinter.cpp.o [103/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/GradeGroup.cpp.o [104/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTableStyle.cpp.o [105/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyle.cpp.o [106/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OpenOfficeUtil.cpp.o [107/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OdfConverterUtil.cpp.o [108/1009] Building CXX object logViewerAuth/CMakeFiles/logViewerAuth.dir/main.cpp.o [109/1009] Building CXX object logViewerTruncate/CMakeFiles/logViewerTruncate.dir/main.cpp.o [110/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxis.cpp.o [111/1009] Building CXX object logViewerService/CMakeFiles/log-view-service.dir/main.cpp.o [112/1009] Building CXX object logViewerAuth/CMakeFiles/logViewerAuth.dir/viewapplication.cpp.o [113/1009] Building CXX object logViewerService/CMakeFiles/log-view-service.dir/log-view-service_autogen/mocs_compilation.cpp.o [114/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisText.cpp.o [115/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerException.cpp.o [116/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTextField.cpp.o [117/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:52:30: required from here 52 | p_zipFile ->writeNum( ( uint32 ) m_dateTimeFormat.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:58:31: required from here 58 | p_zipFile ->writeNum ( l_dateTimeFormat ->m_entry ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:59:31: required from here 59 | p_zipFile ->writeNum( l_dateTimeFormat ->m_entryLen ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [118/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBooleanField::save(DocxFactory::DocxMergerPasteFieldGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp:46:81: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 46 | if ( m_value == DocxMergerBooleanField::BOOLEAN_TRUE && l_pasteBooleanField ->getValue() == true | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [119/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:7: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:39:30: required from here 39 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [120/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:56:30: required from here 56 | p_zipFile ->writeNum ( m_seq ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:57:30: required from here 57 | p_zipFile ->writeNum ( m_isNum ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [121/1009] Building CXX object logViewerService/CMakeFiles/log-view-service.dir/opslogexport.cpp.o [122/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:47:30: required from here 47 | p_zipFile ->writeNum ( m_value ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [123/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBarcodeField::save(DocxFactory::DocxMergerPasteFieldGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:70:17: warning: unused variable ‘l_zipFile’ [-Wunused-variable] 70 | ZipFile *l_zipFile = m_itemFile ->getZipFile(); | ^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:75:69: warning: unused variable ‘l_pasteBarcodeField’ [-Wunused-variable] 75 | DocxMergerPasteBarcodeField *l_pasteBarcodeField; | ^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:79:13: warning: unused variable ‘l_ok’ [-Wunused-variable] 79 | bool l_ok; | ^~~~ [124/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:115:30: required from here 115 | p_zipFile ->writeNum( m_numFormat ->m_posLeftDigCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:119:30: required from here 119 | p_zipFile ->writeNum ( m_numFormat ->m_posSep ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [125/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisNumber.cpp.o [126/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o [127/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSingleSeries.cpp.o [128/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXY.cpp.o [129/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp: In member function ‘void DocxFactory::DocxCompilerBookmark::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:104:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 104 | if (XmlFunc::XMLChCmp(l_startNodePath[l_commonParent]->getLocalName(), _X("p")) | ^~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:117:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 117 | if ( XmlFunc::XMLChCmp( l_startNodePath[ l_commonParent ] -> getLocalName(), _X( "tr" ) ) ) | ^~ [130/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSeries.cpp.o [131/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp: In member function ‘void DocxFactory::DocxCompilerSettingsFile::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp:84:33: warning: variable ‘l_doc’ set but not used [-Wunused-but-set-variable=] 84 | xercesc::DOMDocument* l_doc; | ^~~~~ [132/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:297:30: required from here 297 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [133/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:162:30: required from here 162 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:166:31: required from here 166 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [134/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp: In static member function ‘static void DocxFactory::DocxCompilerField::getTypeAndFormat(std::string&, FieldType&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:107:33: warning: label ‘_param’ defined but not used [-Wunused-label] 107 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:288:21: warning: label ‘_value’ defined but not used [-Wunused-label] 288 | _value: | ^~~~~~ [135/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:164:30: required from here 164 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:168:31: required from here 168 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [136/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [137/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp: In constructor ‘DocxFactory::DocxCompilerItemLayout::DocxCompilerItemLayout(DocxFactory::DocxCompilerItemFile*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMNode*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:85:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | while ( l_cursorNode = ( xercesc::DOMElement* ) l_cursorDriller ->nextNode() ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:97:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 97 | while ( l_tcNode = l_tcNode ->getNextSibling() ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:109:56: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | while ( l_node = XmlFunc::getChildByTagName( l_tcPrNode, l_node, "http://schemas.openxmlformats.org/wordprocessingml/2006/main", "vMerge,gridSpan" ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:10: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:228:30: required from here 228 | p_zipFile ->writeNum( false ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:244:30: required from here 244 | p_zipFile ->writeNum( ( uint32 ) m_trList.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:250:32: required from here 250 | p_zipFile ->writeNum( l_tcIterator ->first ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:243:30: required from here 243 | p_zipFile ->writeNum( m_fixedTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [138/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp: In constructor ‘DocxFactory::DocxCompilerChartFieldSingleSeries::DocxCompilerChartFieldSingleSeries(DocxFactory::DocxCompilerItem*, const std::string&, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*, DocxFactory::OpcPart*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:43:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 43 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:232:30: required from here 232 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:236:31: required from here 236 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:239:30: required from here 239 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [139/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxis.cpp.o [140/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp: In member function ‘void DocxFactory::DocxCompilerStyleFile::loadStyles()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp:113:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | while ( l_styleNode = XmlFunc::getChildByTagName( | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | m_stylesNode, | ~~~~~~~~~~~~~ 115 | l_styleNode, | ~~~~~~~~~~~~ 116 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "style" ) ) | ~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp:107:49: warning: unused variable ‘l_doc’ [-Wunused-variable] 107 | xercesc::DOMDocument* l_doc = m_part ->getDoc(); | ^~~~~ [141/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp: In member function ‘bool DocxFactory::DocxMergerAltChunkField::getWord(const std::string&, const size_t&, size_t&, std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:422:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 422 | if ( !( p_str[ p_pos ] >= 'a' && p_str[ p_pos ] <= 'z' /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:424:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 424 | || p_str[ p_pos ] >= '0' && p_str[ p_pos ] <= '9' [142/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:135:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 135 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:125:30: required from here 125 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [143/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartValues.cpp.o [144/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXYSize.cpp.o [145/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In static member function ‘static void DocxFactory::DocxCompilerPicField::getFormat(std::string&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:65:33: warning: label ‘_param’ defined but not used [-Wunused-label] 65 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:81:41: warning: label ‘_value’ defined but not used [-Wunused-label] 81 | _value: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In constructor ‘DocxFactory::DocxCompilerPicField::DocxCompilerPicField(DocxFactory::DocxCompilerItem*, const std::string&, const std::string&, const std::map >*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:287:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 285 | if ( ( l_cursorNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | && XmlFunc::XMLChCmp( l_cursorNode ->getLocalName(), _X( "extent" ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | && XmlFunc::XMLChCmp( l_cursorNode ->getNamespaceURI(), _X( "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:8: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:368:30: required from here 368 | p_zipFile ->writeNum( m_picId ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:371:30: required from here 371 | p_zipFile ->writeNum ( m_useSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:377:31: required from here 377 | p_zipFile ->writeNum ( ( *l_picStringIterator ).second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [146/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBarcodeField.cpp.o [147/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteAltChunkField.cpp.o [148/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBooleanField.cpp.o [149/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::createStripePlaceHoldersByGroup(DocxFactory::DocxCompilerItemGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:235:88: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 235 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::setFillItem(DocxFactory::DocxCompilerItem*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:477:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 477 | while ( l_tcNode = XmlFunc::getChildByTagName( | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | l_trNodeTemp, | ~~~~~~~~~~~~~ 479 | l_tcNode, | ~~~~~~~~~ 480 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 481 | "tc" ) ) | ~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:500:80: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 500 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:617:72: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 617 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:13: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:283:30: required from here 283 | p_zipFile ->writeNum ( m_fillItemEqual ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:293:30: required from here 293 | p_zipFile ->writeNum( ( uint32 ) m_childItemsByName.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:284:30: required from here 284 | p_zipFile ->writeNum( m_fillItemTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [150/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldFixedSeries.cpp.o [151/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerDateTimeField.cpp.o [152/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:15: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:218:30: required from here 218 | p_zipFile ->writeNum( ( uint32 ) m_drawingStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:222:31: required from here 222 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [153/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldFixedSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:142:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 142 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:132:30: required from here 132 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [154/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/sharedmemorymanager.cpp.o [155/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartValues.cpp.o [156/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartField.cpp.o [157/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisNumber.cpp.o [158/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:25: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:278:30: required from here 278 | p_zipFile ->writeNum ( m_hasToc ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:280:30: required from here 280 | p_zipFile ->writeNum( ( uint32 ) m_itemFiles.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:408:30: required from here 408 | p_zipFile ->writeNum( l_fieldIterator ->second ->getType() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [159/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisDateTime.cpp.o [160/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp: In member function ‘virtual void DocxFactory::DocxMergerField::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp:52:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [161/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteDateTimeField.cpp.o [162/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteField.cpp.o [163/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:944:30: required from here 944 | p_zipFile ->writeNum ( m_topLevel ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:953:30: required from here 953 | p_zipFile ->writeNum( ( uint32 ) m_path.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:948:30: required from here 948 | p_zipFile ->writeNum( m_pageSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [164/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteNumberField.cpp.o [165/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp: In member function ‘void DocxFactory::DocxMergerId::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:33:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 33 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [166/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPastePicField.cpp.o [167/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/UnoUtil/UnoException.cpp.o [168/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/WordProcessingCompiler.cpp.o [169/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItem.cpp.o [170/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteTextField.cpp.o [171/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/CompileVersionMismatchException.cpp.o [172/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteFieldGroup.cpp.o [173/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidMergeDataException.cpp.o [174/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingException.cpp.o [175/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItemGroup.cpp.o [176/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidItemNameException.cpp.o [177/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/TemplateNotLoadedException.cpp.o [178/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerNumberField.cpp.o [179/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp: In member function ‘void DocxFactory::DocxMergerItem::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:180:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 180 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:181:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 181 | m_itemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:185:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | m_fillItemParent = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:186:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | m_fillItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:196:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 196 | m_path.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:202:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 202 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:209:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 209 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:215:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 215 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [180/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/ConsoleException.cpp.o [181/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingMerger.cpp.o [182/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/dbusmanager.cpp.o [183/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/UnoUtil/PropertyMap.cpp.o [184/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp: In member function ‘void DocxFactory::DocxMergerItemGroup::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:137:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 137 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:138:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 138 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:140:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 140 | m_fillItemTop = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:141:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 141 | m_fillItemMiddle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:142:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 142 | m_fillItemBottom = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:143:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 143 | m_fillItemSingle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:147:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 147 | m_spacerItem = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:158:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | m_childItemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [185/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/ConsoleUsageException.cpp.o [186/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp: In member function ‘void DocxFactory::DocxMergerItemLayout::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp:85:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 85 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [187/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisText.cpp.o [188/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/GetOptException.cpp.o [189/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/InvalidOptException.cpp.o [190/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/MissingArgException.cpp.o [191/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/InvalidArgException.cpp.o [192/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/json/JsonException.cpp.o [193/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/UnexpectedArgException.cpp.o [194/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/MissingOptException.cpp.o [195/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/UnexpectedOptException.cpp.o [196/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/json/ParseJsonException.cpp.o [197/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/wtmpparse.cpp.o [198/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/json/ParseJsonFileException.cpp.o [199/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateFormatException.cpp.o [200/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSeries.cpp.o [201/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateTimeStrException.cpp.o [202/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/LocaleException.cpp.o [203/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_compile(const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:134:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 134 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:169:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 169 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:203:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 203 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:239:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 239 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [204/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/math/MathFunc.cpp.o [205/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/InvalidCodePageException.cpp.o [206/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXY.cpp.o [207/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcException.cpp.o [208/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/ContentTypeNotFound.cpp.o [209/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSingleSeries.cpp.o [210/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp: In member function ‘virtual std::string* DocxFactory::DocxMergerPasteChartFieldFixedSeries::getValue()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp:64:81: warning: unused variable ‘l_serLen’ [-Wunused-variable] 64 | size_t l_serLen = l_seriesIdx ->size(); | ^~~~~~~~ [211/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp: In member function ‘void DocxFactory::DocxMergerXmlString::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:234:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 234 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:235:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 235 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:238:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 238 | m_ptr = (void *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [212/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXYSize.cpp.o [213/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerTextField.cpp.o [214/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/json/JsonFunc.cpp.o [215/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/word-processing-compiler.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/word-processing-compiler.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/console/getopt.h:95:17: warning: ‘optarg_w’ defined but not used [-Wunused-variable] 95 | static wchar_t *optarg_w; | ^~~~~~~~ [216/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/PartNotFoundException.cpp.o [217/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/DirNotFoundException.cpp.o [218/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp: In member function ‘void DocxFactory::DocxMergerItemFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:428:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 428 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:438:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 438 | m_rootItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:443:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 443 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:449:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 449 | m_items.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:455:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 455 | m_fields.push_back((DocxMergerField *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:461:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 461 | m_sects.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [219/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/PartTypeNotFoundException.cpp.o [220/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationship.cpp.o [221/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/FileExistsException.cpp.o [222/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/win/WinFunc.cpp.o [223/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/FileNotFoundException.cpp.o [224/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [225/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/parser/ParserException.cpp.o [226/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/OsException.cpp.o [227/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/src/plugininterfaces/logviewerplugininterface.cpp.o [228/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/FileNotOpenException.cpp.o [229/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/PathMissingFileException.cpp.o [230/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/PathMissingExtException.cpp.o [231/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/FileNotRemovedException.cpp.o [232/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/InvalidFileUrlException.cpp.o [233/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/UnsupportedFileTypeException.cpp.o [234/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/XmlInitializer.cpp.o [235/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp: In member function ‘void DocxFactory::DocxMergerSettingsFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:62:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 62 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [236/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/FileInfo.cpp.o [237/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/parser/UnexpectedBracketException.cpp.o [238/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/parser/UnmatchedQuoteException.cpp.o [239/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/InvalidYearOffsetException.cpp.o [240/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/parser/UnclosedBracketException.cpp.o [241/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/time/TimeFunc.cpp.o [242/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/IcuException.cpp.o [243/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/InvalidFirstWeekDayException.cpp.o [244/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/util/ArgTypeMismatchException.cpp.o [245/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/word-processing-merger.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/word-processing-merger.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/console/getopt.h:95:17: warning: ‘optarg_w’ defined but not used [-Wunused-variable] 95 | static wchar_t *optarg_w; | ^~~~~~~~ [246/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/util/UnknownException.cpp.o [247/1009] Building CXX object logViewerService/CMakeFiles/log-view-service.dir/logviewerservice.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/logViewerService/logviewerservice.cpp: In function ‘QString unzipToTempFile(const QString&, const QString&)’: /build/deepin-log-viewer/src/deepin-log-viewer/logViewerService/logviewerservice.cpp:81:17: warning: ignoring return value of ‘bool QTemporaryFile::open()’, declared with attribute ‘nodiscard’ [-Wunused-result] 81 | tmpFile.open(); | ~~~~~~~~~~~~^~ In file included from /usr/include/qt6/QtCore/QTemporaryFile:1, from /build/deepin-log-viewer/src/deepin-log-viewer/logViewerService/logviewerservice.cpp:38: /usr/include/qt6/QtCore/qtemporaryfile.h:52:32: note: declared here 52 | QFILE_MAYBE_NODISCARD bool open() { return open(QIODevice::ReadWrite); } | ^~~~ [248/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/util/GeneralException.cpp.o [249/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/str/StrEntries.cpp.o [250/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp: In constructor ‘DocxFactory::AsciiToXMLCh::AsciiToXMLCh(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp:21:28: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 21 | m_xmlCh[ l_pos ] = NULL; | ^~~~ [251/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/NodeNotFoundException.cpp.o [252/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:5: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp: In member function ‘void DocxFactory::DocxMergerFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:770:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 770 | m_itemFiles.push_back((DocxMergerItemFile *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:776:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 776 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:783:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 783 | m_itemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:790:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 790 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:797:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 797 | m_headerFieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:803:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 803 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:809:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 809 | m_ids.push_back((DocxMergerId *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp: In member function ‘void DocxFactory::DocxMergerFile::link(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:964:38: warning: unused variable ‘l_partsByFullPath’ [-Wunused-variable] 964 | const map *l_partsByFullPath = getPartsByFullPath(); | ^~~~~~~~~~~~~~~~~ [253/1009] Building C object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/console/getopt.c.o [254/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/DomException.cpp.o [255/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryTimer.cpp.o [256/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/InvalidXmlPathException.cpp.o [257/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlException.cpp.o [258/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlFileException.cpp.o [259/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadBookmarks()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:158:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 158 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:161:67: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | && (l_parentBookmark ->getName().length() > 7 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:163:70: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 163 | || l_parentBookmark ->getName().length() > 3 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 3) == "_no")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:137:53: warning: unused variable ‘l_doc’ [-Wunused-variable] 137 | xercesc::DOMDocument *l_doc = m_part ->getDoc(); | ^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:299:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 296 | if (l_pNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | && XmlFunc::XMLChCmp(l_pNode ->getLocalName(), _X("br")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | && XmlFunc::XMLChCmp(l_pNode ->getNamespaceURI(), _X("http://schemas.openxmlformats.org/wordprocessingml/2006/main")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | && XmlFunc::XMLChCmp(((xercesc::DOMElement *) l_pNode) ->getAttribute(Utf8ToXMLCh(m_wordMlPrefix + ":type")), _X("page")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:419:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 419 | while (l_cursorNode = (xercesc::DOMElement *) l_treeDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItemsByBookmark(DocxFactory::DocxCompilerBookmark*, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:690:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 690 | || l_nextChildBookmark ->getName().length() > 7 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:691:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 691 | || l_nextChildBookmark ->getName().length() > 4 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 4) == "_yes" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:692:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 692 | || l_nextChildBookmark ->getName().length() > 3 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 3) == "_no") { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:865:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 865 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1550:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1550 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1581:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1743:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1743 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1779:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1779 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2033:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2033 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2307:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2307 | while (l_node = l_textNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2321:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2321 | while (l_node = l_cursorNode ->getFirstChild()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2396:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2395 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2396 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2494:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2493 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2494 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2625:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2625 | while (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2646:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2646 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2655:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2655 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2659:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2659 | while (l_node = l_fldChar2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2664:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2664 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2673:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2673 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2677:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2677 | while (l_node = l_rNode2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2681:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2681 | while (l_node = l_pNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2722:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2722 | while (l_childNode = l_cursorNode ->getFirstChild()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeRuns()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2764:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2764 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2768:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2768 | while (l_rNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2769 | | 2770 | l_cursorNode, | ~~~~~~~~~~~~~ 2771 | l_rNode, | ~~~~~~~~ 2772 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2773 | "r")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2776:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2776 | if (l_tNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2777 | | 2778 | l_rNode, | ~~~~~~~~ 2779 | NULL, | ~~~~~ 2780 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2781 | "t")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2845:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2845 | } while (l_node = l_node ->getNextSibling()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2869:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2869 | while (l_node = l_tNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2881:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2881 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeTableBorders()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2953:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2953 | while (l_tblNode = (xercesc::DOMElement *) l_tblDriller ->nextNode()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3266:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3266 | while (l_node = XmlFunc::getChildByTagName( | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3267 | l_tcPrNode, | ~~~~~~~~~~~ 3268 | l_node, | ~~~~~~~ 3269 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3270 | "vMerge,hMerge")) { | ~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeBookmarksBr()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3724:53: warning: unused variable ‘l_doc’ [-Wunused-variable] 3724 | xercesc::DOMDocument *l_doc = m_part ->getDoc(); | ^~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:36: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3888:33: required from here 3888 | p_zipFile ->writeNum (m_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3898:33: required from here 3898 | p_zipFile ->writeNum((uint32) m_itemGroups.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [260/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/XmlException.cpp.o [261/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp: In constructor ‘DocxFactory::OpcImageFile::OpcImageFile(DocxFactory::OpcImageCache*, const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp:32:13: warning: variable ‘l_convert’ set but not used [-Wunused-but-set-variable=] 32 | bool l_convert = false; | ^~~~~~~~~ [262/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/ZipException.cpp.o [263/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp: In static member function ‘static std::string DocxFactory::OpcFunc::getRelativePath(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp:95:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 95 | if ( p_sourceDir[0] == '/' && p_path[0] == '/' [264/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logsettings.cpp.o [265/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/StrToXMLCh.cpp.o [266/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/ZipFileNotOpenException.cpp.o [267/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/Utf8ToXMLCh.cpp.o [268/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamNotOpenException.cpp.o [269/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamOpenException.cpp.o [270/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcImageCache.cpp.o [271/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/dbusproxy/userlogaccess.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp: In member function ‘qint64 UserLogAccess::readFileAndReturnIndex(const QString&, qint64, QList&, bool)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:160:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 160 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:174:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 174 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp: In member function ‘QString UserLogAccess::readLogInStream(const QString&)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:445:9: warning: variable ‘linesRead’ set but not used [-Wunused-but-set-variable=] 445 | int linesRead = 0; | ^~~~~~~~~ [272/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcPart.cpp.o [273/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/os/OsFunc.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/os/OsFunc.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp: In static member function ‘static std::string DocxFactory::OsFunc::normalizeFileUrl(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/util/DocxFactoryDefs.h:65:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 65 | #define IS_LETTER( val ) ( val >= 'A' && val <= 'Z' || val >= 'a' && val <= 'z' ) /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:276:22: note: in expansion of macro ‘IS_LETTER’ 276 | && IS_LETTER( l_url[ i + 1 ] ) | ^~~~~~~~~ [274/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/parser/ParserFunc.cpp.o [275/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryException.cpp.o [276/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/unix/UnixFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp: In static member function ‘static void DocxFactory::UnixFunc::setWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp:466:15: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 466 | getcwd( l_buf, FILENAME_MAX ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [277/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/MinizipException.cpp.o [278/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:9: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_load(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:115:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 115 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_save(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:221:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 221 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_print(const char*, short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:267:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 267 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_merge(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:355:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 355 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrStr(const char*, const char*, const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:403:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 403 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrDouble(const char*, const char*, const char*, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:455:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 455 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByDoubleDouble(const char*, const char*, double, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:506:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 506 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByStr(const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:551:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 551 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByDouble(const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:600:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 600 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_paste(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:640:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 640 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:723:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 723 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:778:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 778 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemParent(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:841:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 841 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemFields(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:908:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 908 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setCodePage(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:947:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 947 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumFracSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:977:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 977 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumThSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1007:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1007 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setDateFormat(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1037:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1037 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setYearOffset(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1067:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1067 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setFirstWeekDay(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1103:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1103 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1133:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1133 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames7(const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1177:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1177 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames14(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1256:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1256 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1321:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1321 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames12(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1375:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1375 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames24(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1484:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1484 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1575:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1575 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumFracSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1607:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1607 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumThSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1639:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1639 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getDateFormat()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1675:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1675 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getYearOffset()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1707:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1707 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getFirstWeekDay()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1739:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1739 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1775:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1775 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1816:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1816 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1857:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1857 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1898:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1898 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1940:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1940 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1974:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1974 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:2010:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 2010 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [279/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationships.cpp.o [280/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/ZipFunc.cpp.o [281/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcPackage.cpp.o [282/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/str/StrFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::caps(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:112:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 112 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::lc(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:127:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 127 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::rightTrim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:159:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 159 | if ( l_pos == -1 ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::trim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:190:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 190 | if ( l_pos2 == -1 ) | ~~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::removeDuplicate(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:229:29: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 229 | l_str[ l_strLen ] = NULL; | ^~~~ [283/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/opc/OpcContentTypes.cpp.o [284/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::setCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:75:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 75 | if (l_stdName = ucnv_getStandardName(l_icuName, "MIME", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:78:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 78 | else if (l_stdName = ucnv_getStandardName(l_icuName, "IANA", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::getNumFormat(const std::string&, DocxFactory::NumFormat*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:1246:21: warning: variable ‘l_dec’ set but not used [-Wunused-but-set-variable=] 1246 | bool l_dec; | ^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::getDateTimeFormat(const std::string&, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:1780:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1780 | && (l_pos + 4 < l_len && StrFunc::lc(p_format.substr(l_pos + 1, 4)) == "m/pm" | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static char* DocxFactory::LocaleFunc::ucharToStr(const UChar*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:2899:17: warning: variable ‘l_bufLen’ set but not used [-Wunused-but-set-variable=] 2899 | int32_t l_bufLen; | ^~~~~~~~ [285/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/ZipFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:270:10: required from here 270 | writeNum( ( uint32 ) ptrToSeq( p_ptr ) ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/liblogviewerplugin/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [286/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/exportprogressdlg.cpp.o [287/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/zip/UnzipFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp: In member function ‘void DocxFactory::UnzipFile::openStream(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp:195:17: warning: variable ‘l_fileInfo’ set but not used [-Wunused-but-set-variable=] 195 | FileInfo *l_fileInfo; | ^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp: In member function ‘std::string DocxFactory::UnzipFile::readStr()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp:257:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 257 | l_buf[ l_bufSize ] = NULL; | ^~~~ [288/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp: In member function ‘xercesc_3_3::DOMNode* DocxFactory::XmlTreeDriller::drillNode()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp:182:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 181 | || ( m_drillTagNsAll || m_drillTagNsList.find( l_nodeNs ) != m_drillTagNsList.end() ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | && ( m_drillTagAll || m_drillTagList.find( l_nodeName ) != m_drillTagList.end() ) ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [289/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/journalbootwork.cpp.o [290/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/3rdparty/DocxFactory/src/xml/XmlFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::removeAttrByNamespace(xercesc_3_3::DOMElement*, const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:535:40: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 535 | for ( l_pos = l_len - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static XMLCh* DocxFactory::XmlFunc::ucharToXMLCh(const UChar*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:799:21: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 799 | l_xstr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static UChar* DocxFactory::XmlFunc::XMLChToUChar(const XMLCh*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:815:21: warning: converting to non-pointer type ‘UChar’ {aka ‘char16_t’} from NULL [-Wconversion-null] 815 | l_ustr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::unindentDocRecurr(const xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:839:64: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 839 | for ( l_pos = l_childNodeList ->getLength() - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ [291/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConversionNotSupportedException.cpp.o [292/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinterException.cpp.o [293/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ExportFormatNotSupportedException.cpp.o [294/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinter.cpp.o [295/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/journalwork.cpp.o [296/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logapplicationhelper.cpp.o [297/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/GradeGroup.cpp.o [298/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/dbusproxy/dldbusinterface.cpp.o [299/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OleException.cpp.o [300/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/PrintingNotSupportedException.cpp.o [301/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OdfConverterUtil.cpp.o [302/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilFailedException.cpp.o [303/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilNotFoundException.cpp.o [304/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/parsethread/parsethreadkwin.cpp.o [305/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OpenOfficeUtil.cpp.o [306/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/parsethread/parsethreadbase.cpp.o [307/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/parsethread/parsethreadkern.cpp.o [308/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/sharedmemorymanager.cpp.o [309/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logoocfileparsethread.cpp.o [310/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/dbusproxy/dldbushandler.cpp.o [311/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logscrollbar.cpp.o [312/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:52:30: required from here 52 | p_zipFile ->writeNum( ( uint32 ) m_dateTimeFormat.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:58:31: required from here 58 | p_zipFile ->writeNum ( l_dateTimeFormat ->m_entry ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:59:31: required from here 59 | p_zipFile ->writeNum( l_dateTimeFormat ->m_entryLen ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [313/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logsegementexportthread.cpp.o [314/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logspinnerwidget.cpp.o [315/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:47:30: required from here 47 | p_zipFile ->writeNum ( m_value ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [316/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:297:30: required from here 297 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [317/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logapplicationparsethread.cpp.o [318/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/dbusmanager.cpp.o [319/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/wtmpparse.cpp.o [320/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logiconbutton.cpp.o [321/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp: In member function ‘void DocxFactory::DocxCompilerBookmark::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:104:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 104 | if (XmlFunc::XMLChCmp(l_startNodePath[l_commonParent]->getLocalName(), _X("p")) | ^~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:117:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 117 | if ( XmlFunc::XMLChCmp( l_startNodePath[ l_commonParent ] -> getLocalName(), _X( "tr" ) ) ) | ^~ [322/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/src/plugins/logviewerplugin.cpp.o [323/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/DebugTimeManager.cpp.o [324/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:135:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 135 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:125:30: required from here 125 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [325/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp: In constructor ‘DocxFactory::DocxCompilerChartFieldSingleSeries::DocxCompilerChartFieldSingleSeries(DocxFactory::DocxCompilerItem*, const std::string&, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*, DocxFactory::OpcPart*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:43:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 43 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:232:30: required from here 232 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:236:31: required from here 236 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:239:30: required from here 239 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [326/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:162:30: required from here 162 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:166:31: required from here 166 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [327/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:15: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:218:30: required from here 218 | p_zipFile ->writeNum( ( uint32 ) m_drawingStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:222:31: required from here 222 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [328/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/cliapplicationhelper.cpp.o [329/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:164:30: required from here 164 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:168:31: required from here 168 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [330/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTableStyle.cpp.o [331/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logviewitemdelegate.cpp.o [332/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyle.cpp.o [333/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp: In static member function ‘static void DocxFactory::DocxCompilerField::getTypeAndFormat(std::string&, FieldType&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:107:33: warning: label ‘_param’ defined but not used [-Wunused-label] 107 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:288:21: warning: label ‘_value’ defined but not used [-Wunused-label] 288 | _value: | ^~~~~~ [334/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldFixedSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:142:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 142 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:132:30: required from here 132 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [335/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:56:30: required from here 56 | p_zipFile ->writeNum ( m_seq ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:57:30: required from here 57 | p_zipFile ->writeNum ( m_isNum ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [336/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxis.cpp.o [337/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/utils.cpp.o [338/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logperiodbutton.cpp.o [339/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logviewheaderview.cpp.o [340/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:25: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:278:30: required from here 278 | p_zipFile ->writeNum ( m_hasToc ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:280:30: required from here 280 | p_zipFile ->writeNum( ( uint32 ) m_itemFiles.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:408:30: required from here 408 | p_zipFile ->writeNum( l_fieldIterator ->second ->getType() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [341/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTextField.cpp.o [342/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/lognormalbutton.cpp.o [343/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/exportprogressdlg.cpp.o [344/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logsettings.cpp.o [345/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logcombox.cpp.o [346/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerException.cpp.o [347/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:7: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:39:30: required from here 39 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [348/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:115:30: required from here 115 | p_zipFile ->writeNum( m_numFormat ->m_posLeftDigCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:119:30: required from here 119 | p_zipFile ->writeNum ( m_numFormat ->m_posSep ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [349/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisText.cpp.o [350/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logfileparser.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/logfileparser.cpp:12: /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:26:16: warning: ‘fpos’ defined but not used [-Wunused-variable] 26 | static __off_t fpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:25:12: warning: ‘bpos’ defined but not used [-Wunused-variable] 25 | static int bpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:24:12: warning: ‘fdWtmp’ defined but not used [-Wunused-variable] 24 | static int fdWtmp = -1; | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:23:12: warning: ‘cur_rec’ defined but not used [-Wunused-variable] 23 | static int cur_rec; | ^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:22:12: warning: ‘num_recs’ defined but not used [-Wunused-variable] 22 | static int num_recs; | ^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:21:13: warning: ‘utmpbuf’ defined but not used [-Wunused-variable] 21 | static char utmpbuf[NRECS * UTSIZE]; | ^~~~~~~ [351/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/eventlogutils.cpp.o [352/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/journalwork.cpp.o [353/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBooleanField::save(DocxFactory::DocxMergerPasteFieldGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp:46:81: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 46 | if ( m_value == DocxMergerBooleanField::BOOLEAN_TRUE && l_pasteBooleanField ->getValue() == true | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [354/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o [355/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBarcodeField::save(DocxFactory::DocxMergerPasteFieldGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:70:17: warning: unused variable ‘l_zipFile’ [-Wunused-variable] 70 | ZipFile *l_zipFile = m_itemFile ->getZipFile(); | ^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:75:69: warning: unused variable ‘l_pasteBarcodeField’ [-Wunused-variable] 75 | DocxMergerPasteBarcodeField *l_pasteBarcodeField; | ^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp:79:13: warning: unused variable ‘l_ok’ [-Wunused-variable] 79 | bool l_ok; | ^~~~ [356/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp: In constructor ‘DocxFactory::DocxCompilerItemLayout::DocxCompilerItemLayout(DocxFactory::DocxCompilerItemFile*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMNode*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:85:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | while ( l_cursorNode = ( xercesc::DOMElement* ) l_cursorDriller ->nextNode() ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:97:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 97 | while ( l_tcNode = l_tcNode ->getNextSibling() ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:109:56: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | while ( l_node = XmlFunc::getChildByTagName( l_tcPrNode, l_node, "http://schemas.openxmlformats.org/wordprocessingml/2006/main", "vMerge,gridSpan" ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:10: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:228:30: required from here 228 | p_zipFile ->writeNum( false ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:244:30: required from here 244 | p_zipFile ->writeNum( ( uint32 ) m_trList.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:250:32: required from here 250 | p_zipFile ->writeNum( l_tcIterator ->first ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:243:30: required from here 243 | p_zipFile ->writeNum( m_fixedTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [357/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logtreeview.cpp.o [358/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp: In member function ‘void DocxFactory::DocxCompilerSettingsFile::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp:84:33: warning: variable ‘l_doc’ set but not used [-Wunused-but-set-variable=] 84 | xercesc::DOMDocument* l_doc; | ^~~~~ [359/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logdetailedit.cpp.o [360/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisNumber.cpp.o [361/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::createStripePlaceHoldersByGroup(DocxFactory::DocxCompilerItemGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:235:88: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 235 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::setFillItem(DocxFactory::DocxCompilerItem*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:477:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 477 | while ( l_tcNode = XmlFunc::getChildByTagName( | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | l_trNodeTemp, | ~~~~~~~~~~~~~ 479 | l_tcNode, | ~~~~~~~~~ 480 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 481 | "tc" ) ) | ~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:500:80: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 500 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:617:72: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 617 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:13: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:283:30: required from here 283 | p_zipFile ->writeNum ( m_fillItemEqual ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:293:30: required from here 293 | p_zipFile ->writeNum( ( uint32 ) m_childItemsByName.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:284:30: required from here 284 | p_zipFile ->writeNum( m_fillItemTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [362/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxis.cpp.o [363/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBarcodeField.cpp.o [364/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In static member function ‘static void DocxFactory::DocxCompilerPicField::getFormat(std::string&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:65:33: warning: label ‘_param’ defined but not used [-Wunused-label] 65 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:81:41: warning: label ‘_value’ defined but not used [-Wunused-label] 81 | _value: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In constructor ‘DocxFactory::DocxCompilerPicField::DocxCompilerPicField(DocxFactory::DocxCompilerItem*, const std::string&, const std::string&, const std::map >*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:287:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 285 | if ( ( l_cursorNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | && XmlFunc::XMLChCmp( l_cursorNode ->getLocalName(), _X( "extent" ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | && XmlFunc::XMLChCmp( l_cursorNode ->getNamespaceURI(), _X( "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:8: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:368:30: required from here 368 | p_zipFile ->writeNum( m_picId ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:371:30: required from here 371 | p_zipFile ->writeNum ( m_useSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:377:31: required from here 377 | p_zipFile ->writeNum ( ( *l_picStringIterator ).second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [365/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSingleSeries.cpp.o [366/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXY.cpp.o [367/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBooleanField.cpp.o [368/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartValues.cpp.o [369/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteAltChunkField.cpp.o [370/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp: In member function ‘bool DocxFactory::DocxMergerAltChunkField::getWord(const std::string&, const size_t&, size_t&, std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:422:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 422 | if ( !( p_str[ p_pos ] >= 'a' && p_str[ p_pos ] <= 'z' /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:424:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 424 | || p_str[ p_pos ] >= '0' && p_str[ p_pos ] <= '9' [371/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/logviewerplugin_autogen/mocs_compilation.cpp.o [372/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSeries.cpp.o [373/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXYSize.cpp.o [374/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisDateTime.cpp.o [375/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartValues.cpp.o [376/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisNumber.cpp.o [377/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/dbusproxy/userlogaccess.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp: In member function ‘qint64 UserLogAccess::readFileAndReturnIndex(const QString&, qint64, QList&, bool)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:160:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 160 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:174:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 174 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp: In member function ‘QString UserLogAccess::readLogInStream(const QString&)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:445:9: warning: variable ‘linesRead’ set but not used [-Wunused-but-set-variable=] 445 | int linesRead = 0; | ^~~~~~~~~ [378/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp: In member function ‘void DocxFactory::DocxCompilerStyleFile::loadStyles()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp:113:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | while ( l_styleNode = XmlFunc::getChildByTagName( | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | m_stylesNode, | ~~~~~~~~~~~~~ 115 | l_styleNode, | ~~~~~~~~~~~~ 116 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "style" ) ) | ~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp:107:49: warning: unused variable ‘l_doc’ [-Wunused-variable] 107 | xercesc::DOMDocument* l_doc = m_part ->getDoc(); | ^~~~~ [379/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartField.cpp.o [380/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/journalbootwork.cpp.o [381/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldFixedSeries.cpp.o [382/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logexportthread.cpp.o [383/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp: In member function ‘virtual void DocxFactory::DocxMergerField::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp:52:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [384/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [385/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerDateTimeField.cpp.o [386/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteField.cpp.o [387/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteDateTimeField.cpp.o [388/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:944:30: required from here 944 | p_zipFile ->writeNum ( m_topLevel ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:953:30: required from here 953 | p_zipFile ->writeNum( ( uint32 ) m_path.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:948:30: required from here 948 | p_zipFile ->writeNum( m_pageSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [389/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteNumberField.cpp.o [390/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/WordProcessingCompiler.cpp.o [391/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItemGroup.cpp.o [392/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logdetailinfowidget.cpp.o [393/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteFieldGroup.cpp.o [394/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteTextField.cpp.o [395/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPastePicField.cpp.o [396/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logapplicationhelper.cpp.o [397/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp: In member function ‘void DocxFactory::DocxMergerId::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:33:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 33 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [398/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp: In member function ‘void DocxFactory::DocxMergerItemGroup::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:137:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 137 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:138:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 138 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:140:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 140 | m_fillItemTop = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:141:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 141 | m_fillItemMiddle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:142:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 142 | m_fillItemBottom = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:143:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 143 | m_fillItemSingle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:147:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 147 | m_spacerItem = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:158:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | m_childItemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [399/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/UnoUtil/UnoException.cpp.o [400/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp: In member function ‘void DocxFactory::DocxMergerItemLayout::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp:85:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 85 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [401/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidItemNameException.cpp.o [402/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidMergeDataException.cpp.o [403/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/TemplateNotLoadedException.cpp.o [404/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/CompileVersionMismatchException.cpp.o [405/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingException.cpp.o [406/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItem.cpp.o [407/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/ConsoleUsageException.cpp.o [408/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp: In member function ‘void DocxFactory::DocxMergerItem::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:180:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 180 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:181:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 181 | m_itemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:185:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | m_fillItemParent = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:186:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | m_fillItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:196:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 196 | m_path.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:202:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 202 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:209:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 209 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:215:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 215 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [409/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/ConsoleException.cpp.o [410/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingMerger.cpp.o [411/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerNumberField.cpp.o [412/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/GetOptException.cpp.o [413/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/UnoUtil/PropertyMap.cpp.o [414/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisText.cpp.o [415/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/InvalidOptException.cpp.o [416/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/InvalidArgException.cpp.o [417/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/MissingArgException.cpp.o [418/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/json/JsonException.cpp.o [419/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/UnexpectedArgException.cpp.o [420/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/json/ParseJsonFileException.cpp.o [421/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/UnexpectedOptException.cpp.o [422/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/MissingOptException.cpp.o [423/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/json/ParseJsonException.cpp.o [424/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/math/MathFunc.cpp.o [425/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/InvalidCodePageException.cpp.o [426/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_compile(const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:134:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 134 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:169:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 169 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:203:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 203 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:239:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 239 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [427/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateFormatException.cpp.o [428/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateTimeStrException.cpp.o [429/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/LocaleException.cpp.o [430/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/dbusproxy/dldbusinterface.cpp.o [431/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcException.cpp.o [432/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/ContentTypeNotFound.cpp.o [433/1009] Building CXX object liblogviewerplugin/CMakeFiles/logviewerplugin.dir/__/application/logauththread.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/logauththread.cpp:9: /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:26:16: warning: ‘fpos’ defined but not used [-Wunused-variable] 26 | static __off_t fpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:25:12: warning: ‘bpos’ defined but not used [-Wunused-variable] 25 | static int bpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:24:12: warning: ‘fdWtmp’ defined but not used [-Wunused-variable] 24 | static int fdWtmp = -1; | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:23:12: warning: ‘cur_rec’ defined but not used [-Wunused-variable] 23 | static int cur_rec; | ^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:22:12: warning: ‘num_recs’ defined but not used [-Wunused-variable] 22 | static int num_recs; | ^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:21:13: warning: ‘utmpbuf’ defined but not used [-Wunused-variable] 21 | static char utmpbuf[NRECS * UTSIZE]; | ^~~~~~~ [434/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSeries.cpp.o [435/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXYSize.cpp.o [436/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSingleSeries.cpp.o [437/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXY.cpp.o [438/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp: In member function ‘virtual std::string* DocxFactory::DocxMergerPasteChartFieldFixedSeries::getValue()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp:64:81: warning: unused variable ‘l_serLen’ [-Wunused-variable] 64 | size_t l_serLen = l_seriesIdx ->size(); | ^~~~~~~~ [439/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/filtercontent.cpp.o [440/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/PartNotFoundException.cpp.o [441/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationship.cpp.o [442/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/PartTypeNotFoundException.cpp.o [443/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/DirNotFoundException.cpp.o [444/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/json/JsonFunc.cpp.o [445/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp: In member function ‘void DocxFactory::DocxMergerXmlString::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:234:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 234 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:235:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 235 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:238:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 238 | m_ptr = (void *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [446/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp: In member function ‘void DocxFactory::DocxMergerItemFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:428:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 428 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:438:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 438 | m_rootItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:443:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 443 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:449:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 449 | m_items.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:455:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 455 | m_fields.push_back((DocxMergerField *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:461:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 461 | m_sects.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [447/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/win/WinFunc.cpp.o [448/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerTextField.cpp.o [449/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/OsException.cpp.o [450/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/FileExistsException.cpp.o [451/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/FileNotFoundException.cpp.o [452/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [453/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/InvalidFileUrlException.cpp.o [454/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/word-processing-compiler.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/word-processing-compiler.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/console/getopt.h:95:17: warning: ‘optarg_w’ defined but not used [-Wunused-variable] 95 | static wchar_t *optarg_w; | ^~~~~~~~ [455/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/PathMissingFileException.cpp.o [456/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/FileNotOpenException.cpp.o [457/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/UnsupportedFileTypeException.cpp.o [458/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/FileNotRemovedException.cpp.o [459/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/parser/ParserException.cpp.o [460/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/PathMissingExtException.cpp.o [461/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/XmlInitializer.cpp.o [462/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/parsethread/parsethreadbase.cpp.o [463/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/parser/UnclosedBracketException.cpp.o [464/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/FileInfo.cpp.o [465/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logoocfileparsethread.cpp.o [466/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/parser/UnexpectedBracketException.cpp.o [467/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/parser/UnmatchedQuoteException.cpp.o [468/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/IcuException.cpp.o [469/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/deepin-log-viewer_autogen/GBFAFXFCVO/qrc_resources.cpp.o [470/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/InvalidFirstWeekDayException.cpp.o [471/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/time/TimeFunc.cpp.o [472/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/InvalidYearOffsetException.cpp.o [473/1009] Building C object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/console/getopt.c.o [474/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/util/ArgTypeMismatchException.cpp.o [475/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp: In member function ‘void DocxFactory::DocxMergerSettingsFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:62:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 62 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [476/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/util/UnknownException.cpp.o [477/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/str/StrEntries.cpp.o [478/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp: In constructor ‘DocxFactory::AsciiToXMLCh::AsciiToXMLCh(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp:21:28: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 21 | m_xmlCh[ l_pos ] = NULL; | ^~~~ [479/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/util/GeneralException.cpp.o [480/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/XmlException.cpp.o [481/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/NodeNotFoundException.cpp.o [482/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/DomException.cpp.o [483/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/InvalidXmlPathException.cpp.o [484/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlException.cpp.o [485/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlFileException.cpp.o [486/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/word-processing-merger.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/word-processing-merger.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/console/getopt.h:95:17: warning: ‘optarg_w’ defined but not used [-Wunused-variable] 95 | static wchar_t *optarg_w; | ^~~~~~~~ [487/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/dbusproxy/dldbushandler.cpp.o [488/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryTimer.cpp.o [489/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/ZipException.cpp.o [490/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/parsethread/parsethreadkern.cpp.o [491/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp: In constructor ‘DocxFactory::OpcImageFile::OpcImageFile(DocxFactory::OpcImageCache*, const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp:32:13: warning: variable ‘l_convert’ set but not used [-Wunused-but-set-variable=] 32 | bool l_convert = false; | ^~~~~~~~~ [492/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/ZipFileNotOpenException.cpp.o [493/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamOpenException.cpp.o [494/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp: In static member function ‘static std::string DocxFactory::OpcFunc::getRelativePath(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp:95:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 95 | if ( p_sourceDir[0] == '/' && p_path[0] == '/' [495/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamNotOpenException.cpp.o [496/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/StrToXMLCh.cpp.o [497/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/Utf8ToXMLCh.cpp.o [498/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:5: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp: In member function ‘void DocxFactory::DocxMergerFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:770:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 770 | m_itemFiles.push_back((DocxMergerItemFile *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:776:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 776 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:783:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 783 | m_itemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:790:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 790 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:797:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 797 | m_headerFieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:803:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 803 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:809:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 809 | m_ids.push_back((DocxMergerId *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp: In member function ‘void DocxFactory::DocxMergerFile::link(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:964:38: warning: unused variable ‘l_partsByFullPath’ [-Wunused-variable] 964 | const map *l_partsByFullPath = getPartsByFullPath(); | ^~~~~~~~~~~~~~~~~ [499/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcImageCache.cpp.o [500/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/parsethread/parsethreadkwin.cpp.o [501/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logapplication.cpp.o [502/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcPart.cpp.o [503/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadBookmarks()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:158:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 158 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:161:67: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | && (l_parentBookmark ->getName().length() > 7 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:163:70: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 163 | || l_parentBookmark ->getName().length() > 3 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 3) == "_no")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:137:53: warning: unused variable ‘l_doc’ [-Wunused-variable] 137 | xercesc::DOMDocument *l_doc = m_part ->getDoc(); | ^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:299:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 296 | if (l_pNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | && XmlFunc::XMLChCmp(l_pNode ->getLocalName(), _X("br")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | && XmlFunc::XMLChCmp(l_pNode ->getNamespaceURI(), _X("http://schemas.openxmlformats.org/wordprocessingml/2006/main")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | && XmlFunc::XMLChCmp(((xercesc::DOMElement *) l_pNode) ->getAttribute(Utf8ToXMLCh(m_wordMlPrefix + ":type")), _X("page")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:419:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 419 | while (l_cursorNode = (xercesc::DOMElement *) l_treeDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItemsByBookmark(DocxFactory::DocxCompilerBookmark*, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:690:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 690 | || l_nextChildBookmark ->getName().length() > 7 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:691:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 691 | || l_nextChildBookmark ->getName().length() > 4 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 4) == "_yes" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:692:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 692 | || l_nextChildBookmark ->getName().length() > 3 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 3) == "_no") { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:865:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 865 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1550:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1550 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1581:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1743:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1743 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1779:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1779 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2033:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2033 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2307:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2307 | while (l_node = l_textNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2321:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2321 | while (l_node = l_cursorNode ->getFirstChild()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2396:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2395 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2396 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2494:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2493 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2494 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2625:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2625 | while (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2646:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2646 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2655:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2655 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2659:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2659 | while (l_node = l_fldChar2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2664:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2664 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2673:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2673 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2677:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2677 | while (l_node = l_rNode2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2681:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2681 | while (l_node = l_pNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2722:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2722 | while (l_childNode = l_cursorNode ->getFirstChild()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeRuns()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2764:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2764 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2768:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2768 | while (l_rNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2769 | | 2770 | l_cursorNode, | ~~~~~~~~~~~~~ 2771 | l_rNode, | ~~~~~~~~ 2772 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2773 | "r")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2776:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2776 | if (l_tNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2777 | | 2778 | l_rNode, | ~~~~~~~~ 2779 | NULL, | ~~~~~ 2780 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2781 | "t")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2845:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2845 | } while (l_node = l_node ->getNextSibling()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2869:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2869 | while (l_node = l_tNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2881:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2881 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeTableBorders()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2953:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2953 | while (l_tblNode = (xercesc::DOMElement *) l_tblDriller ->nextNode()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3266:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3266 | while (l_node = XmlFunc::getChildByTagName( | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3267 | l_tcPrNode, | ~~~~~~~~~~~ 3268 | l_node, | ~~~~~~~ 3269 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3270 | "vMerge,hMerge")) { | ~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeBookmarksBr()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3724:53: warning: unused variable ‘l_doc’ [-Wunused-variable] 3724 | xercesc::DOMDocument *l_doc = m_part ->getDoc(); | ^~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:36: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3888:33: required from here 3888 | p_zipFile ->writeNum (m_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3898:33: required from here 3898 | p_zipFile ->writeNum((uint32) m_itemGroups.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [504/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/parser/ParserFunc.cpp.o [505/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryException.cpp.o [506/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logapplicationparsethread.cpp.o [507/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/utils.cpp.o [508/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/os/OsFunc.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/os/OsFunc.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp: In static member function ‘static std::string DocxFactory::OsFunc::normalizeFileUrl(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/util/DocxFactoryDefs.h:65:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 65 | #define IS_LETTER( val ) ( val >= 'A' && val <= 'Z' || val >= 'a' && val <= 'z' ) /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:276:22: note: in expansion of macro ‘IS_LETTER’ 276 | && IS_LETTER( l_url[ i + 1 ] ) | ^~~~~~~~~ [509/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:9: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_load(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:115:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 115 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_save(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:221:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 221 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_print(const char*, short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:267:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 267 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_merge(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:355:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 355 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrStr(const char*, const char*, const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:403:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 403 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrDouble(const char*, const char*, const char*, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:455:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 455 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByDoubleDouble(const char*, const char*, double, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:506:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 506 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByStr(const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:551:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 551 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByDouble(const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:600:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 600 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_paste(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:640:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 640 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:723:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 723 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:778:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 778 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemParent(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:841:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 841 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemFields(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:908:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 908 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setCodePage(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:947:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 947 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumFracSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:977:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 977 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumThSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1007:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1007 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setDateFormat(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1037:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1037 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setYearOffset(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1067:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1067 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setFirstWeekDay(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1103:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1103 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1133:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1133 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames7(const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1177:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1177 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames14(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1256:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1256 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1321:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1321 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames12(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1375:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1375 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames24(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1484:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1484 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1575:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1575 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumFracSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1607:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1607 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumThSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1639:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1639 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getDateFormat()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1675:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1675 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getYearOffset()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1707:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1707 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getFirstWeekDay()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1739:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1739 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1775:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1775 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1816:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1816 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1857:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1857 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1898:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1898 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1940:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1940 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1974:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1974 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:2010:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 2010 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [510/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/MinizipException.cpp.o [511/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/unix/UnixFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp: In static member function ‘static void DocxFactory::UnixFunc::setWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp:466:15: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 466 | getcwd( l_buf, FILENAME_MAX ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [512/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/ZipFunc.cpp.o [513/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcContentTypes.cpp.o [514/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/str/StrFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::caps(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:112:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 112 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::lc(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:127:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 127 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::rightTrim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:159:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 159 | if ( l_pos == -1 ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::trim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:190:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 190 | if ( l_pos2 == -1 ) | ~~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::removeDuplicate(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:229:29: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 229 | l_str[ l_strLen ] = NULL; | ^~~~ [515/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logsegementexportthread.cpp.o [516/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcPackage.cpp.o [517/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::setCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:75:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 75 | if (l_stdName = ucnv_getStandardName(l_icuName, "MIME", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:78:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 78 | else if (l_stdName = ucnv_getStandardName(l_icuName, "IANA", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::getNumFormat(const std::string&, DocxFactory::NumFormat*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:1246:21: warning: variable ‘l_dec’ set but not used [-Wunused-but-set-variable=] 1246 | bool l_dec; | ^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::getDateTimeFormat(const std::string&, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:1780:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1780 | && (l_pos + 4 < l_len && StrFunc::lc(p_format.substr(l_pos + 1, 4)) == "m/pm" | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static char* DocxFactory::LocaleFunc::ucharToStr(const UChar*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:2899:17: warning: variable ‘l_bufLen’ set but not used [-Wunused-but-set-variable=] 2899 | int32_t l_bufLen; | ^~~~~~~~ [518/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationships.cpp.o [519/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logallexportthread.cpp.o [520/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/ZipFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:270:10: required from here 270 | writeNum( ( uint32 ) ptrToSeq( p_ptr ) ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [521/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp: In member function ‘xercesc_3_3::DOMNode* DocxFactory::XmlTreeDriller::drillNode()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp:182:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 181 | || ( m_drillTagNsAll || m_drillTagNsList.find( l_nodeNs ) != m_drillTagNsList.end() ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | && ( m_drillTagAll || m_drillTagList.find( l_nodeName ) != m_drillTagList.end() ) ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [522/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/zip/UnzipFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp: In member function ‘void DocxFactory::UnzipFile::openStream(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp:195:17: warning: variable ‘l_fileInfo’ set but not used [-Wunused-but-set-variable=] 195 | FileInfo *l_fileInfo; | ^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp: In member function ‘std::string DocxFactory::UnzipFile::readStr()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp:257:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 257 | l_buf[ l_bufSize ] = NULL; | ^~~~ [523/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/__/3rdparty/DocxFactory/src/xml/XmlFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::removeAttrByNamespace(xercesc_3_3::DOMElement*, const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:535:40: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 535 | for ( l_pos = l_len - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static XMLCh* DocxFactory::XmlFunc::ucharToXMLCh(const UChar*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:799:21: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 799 | l_xstr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static UChar* DocxFactory::XmlFunc::XMLChToUChar(const XMLCh*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:815:21: warning: converting to non-pointer type ‘UChar’ {aka ‘char16_t’} from NULL [-Wconversion-null] 815 | l_ustr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::unindentDocRecurr(const xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:839:64: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 839 | for ( l_pos = l_childNodeList ->getLength() - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ [524/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logfileparser.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/logfileparser.cpp:12: /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:26:16: warning: ‘fpos’ defined but not used [-Wunused-variable] 26 | static __off_t fpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:25:12: warning: ‘bpos’ defined but not used [-Wunused-variable] 25 | static int bpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:24:12: warning: ‘fdWtmp’ defined but not used [-Wunused-variable] 24 | static int fdWtmp = -1; | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:23:12: warning: ‘cur_rec’ defined but not used [-Wunused-variable] 23 | static int cur_rec; | ^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:22:12: warning: ‘num_recs’ defined but not used [-Wunused-variable] 22 | static int num_recs; | ^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:21:13: warning: ‘utmpbuf’ defined but not used [-Wunused-variable] 21 | static char utmpbuf[NRECS * UTSIZE]; | ^~~~~~~ [525/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/loglistview.cpp.o [526/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/main.cpp.o [527/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logcollectormain.cpp.o [528/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logexportthread.cpp.o [529/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/DebugTimeManager.cpp.o [530/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/dbusmanager.cpp.o [531/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/sharedmemorymanager.cpp.o [532/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logscrollbar.cpp.o [533/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/wtmpparse.cpp.o [534/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logspinnerwidget.cpp.o [535/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logiconbutton.cpp.o [536/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/eventlogutils.cpp.o [537/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_debugtimemanager.cpp.o [538/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logauththread.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/application/logauththread.cpp:9: /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:26:16: warning: ‘fpos’ defined but not used [-Wunused-variable] 26 | static __off_t fpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:25:12: warning: ‘bpos’ defined but not used [-Wunused-variable] 25 | static int bpos; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:24:12: warning: ‘fdWtmp’ defined but not used [-Wunused-variable] 24 | static int fdWtmp = -1; | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:23:12: warning: ‘cur_rec’ defined but not used [-Wunused-variable] 23 | static int cur_rec; | ^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:22:12: warning: ‘num_recs’ defined but not used [-Wunused-variable] 22 | static int num_recs; | ^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/wtmpparse.h:21:13: warning: ‘utmpbuf’ defined but not used [-Wunused-variable] 21 | static char utmpbuf[NRECS * UTSIZE]; | ^~~~~~~ [539/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logsettings.cpp.o [540/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logcombox.cpp.o [541/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/deepin-log-viewer_autogen/mocs_compilation.cpp.o [542/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logdetailedit.cpp.o [543/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/lognormalbutton.cpp.o [544/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/dbusproxy/userlogaccess.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp: In member function ‘qint64 UserLogAccess::readFileAndReturnIndex(const QString&, qint64, QList&, bool)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:160:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 160 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:174:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 174 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ [545/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logperiodbutton.cpp.o [546/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logviewitemdelegate.cpp.o [547/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/exportprogressdlg.cpp.o [548/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_dbusmanager.cpp.o [549/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/displaycontent.cpp.o [550/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/journalbootwork.cpp.o [551/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConversionNotSupportedException.cpp.o [552/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logviewheaderview.cpp.o [553/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/journalwork.cpp.o [554/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinter.cpp.o [555/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/dbusproxy/dldbusinterface.cpp.o [556/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinterException.cpp.o [557/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ExportFormatNotSupportedException.cpp.o [558/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/GradeGroup.cpp.o [559/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OleException.cpp.o [560/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilFailedException.cpp.o [561/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/PrintingNotSupportedException.cpp.o [562/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OdfConverterUtil.cpp.o [563/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OpenOfficeUtil.cpp.o [564/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logapplicationhelper.cpp.o [565/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logdetailinfowidget.cpp.o [566/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logtreeview.cpp.o [567/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilNotFoundException.cpp.o [568/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_exportprogressdlg.cpp.o [569/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logcombox.cpp.o [570/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/parsethread/parsethreadkwin.cpp.o [571/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/parsethread/parsethreadbase.cpp.o [572/1009] Building CXX object application/CMakeFiles/deepin-log-viewer.dir/logbackend.cpp.o [573/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/dbusproxy/dldbushandler.cpp.o [574/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logoocfileparsethread.cpp.o [575/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logapplicationhelper.cpp.o [576/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logsegementexportthread.cpp.o [577/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/filtercontent.cpp.o [578/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/parsethread/parsethreadkern.cpp.o [579/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logallexportthread.cpp.o [580/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_journalwork.cpp.o [581/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:297:30: required from here 297 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [582/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:52:30: required from here 52 | p_zipFile ->writeNum( ( uint32 ) m_dateTimeFormat.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:58:31: required from here 58 | p_zipFile ->writeNum ( l_dateTimeFormat ->m_entry ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:59:31: required from here 59 | p_zipFile ->writeNum( l_dateTimeFormat ->m_entryLen ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [583/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:47:30: required from here 47 | p_zipFile ->writeNum ( m_value ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [584/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_journalbootwork.cpp.o [585/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logapplicationparsethread.cpp.o [586/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyle.cpp.o [587/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_filtercontent.cpp.o [588/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp: In member function ‘void DocxFactory::DocxCompilerBookmark::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:104:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 104 | if (XmlFunc::XMLChCmp(l_startNodePath[l_commonParent]->getLocalName(), _X("p")) | ^~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:117:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 117 | if ( XmlFunc::XMLChCmp( l_startNodePath[ l_commonParent ] -> getLocalName(), _X( "tr" ) ) ) | ^~ [589/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_stubpublic.cpp.o [590/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logsettings.cpp.o [591/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:162:30: required from here 162 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:166:31: required from here 166 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [592/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/dbusproxy/ut_dldbushandler.cpp.o [593/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTableStyle.cpp.o [594/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/dbusproxy/ut_dldbusinterface.cpp.o [595/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logiconbutton.cpp.o [596/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logdetailedit.cpp.o [597/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:164:30: required from here 164 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:168:31: required from here 168 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [598/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:56:30: required from here 56 | p_zipFile ->writeNum ( m_seq ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:57:30: required from here 57 | p_zipFile ->writeNum ( m_isNum ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [599/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:135:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 135 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:125:30: required from here 125 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [600/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldFixedSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:142:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 142 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:132:30: required from here 132 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [601/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:15: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:218:30: required from here 218 | p_zipFile ->writeNum( ( uint32 ) m_drawingStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:222:31: required from here 222 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [602/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp: In constructor ‘DocxFactory::DocxCompilerChartFieldSingleSeries::DocxCompilerChartFieldSingleSeries(DocxFactory::DocxCompilerItem*, const std::string&, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*, DocxFactory::OpcPart*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:43:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 43 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:232:30: required from here 232 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:236:31: required from here 236 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:239:30: required from here 239 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [603/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logfileparser.cpp.o [604/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logallexportthread.cpp.o [605/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxis.cpp.o [606/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logapplication.cpp.o [607/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_main.cpp.o [608/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logspinnerwidget.cpp.o [609/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:115:30: required from here 115 | p_zipFile ->writeNum( m_numFormat ->m_posLeftDigCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:119:30: required from here 119 | p_zipFile ->writeNum ( m_numFormat ->m_posSep ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [610/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerException.cpp.o [611/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logscrollbar.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logscrollbar.cpp: In member function ‘virtual void LogScrollBar_mousePressEvent_UT_LogScrollBar_mousePressEvent_UT_002_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logscrollbar.cpp:31:114: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations] 31 | QMouseEvent mouseEvent(QEvent::MouseButtonPress, QPoint(1, 1), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); | ^ In file included from /usr/include/qt6/QtGui/QMouseEvent:1, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logscrollbar.cpp:9: /usr/include/qt6/QtGui/qevent.h:203:5: note: declared here 203 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button, | ^~~~~~~~~~~ [612/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/utils.cpp.o [613/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp: In static member function ‘static void DocxFactory::DocxCompilerField::getTypeAndFormat(std::string&, FieldType&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:107:33: warning: label ‘_param’ defined but not used [-Wunused-label] 107 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:288:21: warning: label ‘_value’ defined but not used [-Wunused-label] 288 | _value: | ^~~~~~ [614/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTextField.cpp.o [615/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisText.cpp.o [616/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_stuballthread.cpp.o [617/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_sharedmemorymanager.cpp.o [618/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:7: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:39:30: required from here 39 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [619/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp.o [620/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxis.cpp.o [621/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp: In constructor ‘DocxFactory::DocxCompilerItemLayout::DocxCompilerItemLayout(DocxFactory::DocxCompilerItemFile*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMNode*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:85:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | while ( l_cursorNode = ( xercesc::DOMElement* ) l_cursorDriller ->nextNode() ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:97:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 97 | while ( l_tcNode = l_tcNode ->getNextSibling() ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:109:56: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | while ( l_node = XmlFunc::getChildByTagName( l_tcPrNode, l_node, "http://schemas.openxmlformats.org/wordprocessingml/2006/main", "vMerge,gridSpan" ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:10: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:228:30: required from here 228 | p_zipFile ->writeNum( false ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:244:30: required from here 244 | p_zipFile ->writeNum( ( uint32 ) m_trList.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:250:32: required from here 250 | p_zipFile ->writeNum( l_tcIterator ->first ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:243:30: required from here 243 | p_zipFile ->writeNum( m_fixedTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [622/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::createStripePlaceHoldersByGroup(DocxFactory::DocxCompilerItemGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:235:88: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 235 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::setFillItem(DocxFactory::DocxCompilerItem*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:477:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 477 | while ( l_tcNode = XmlFunc::getChildByTagName( | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | l_trNodeTemp, | ~~~~~~~~~~~~~ 479 | l_tcNode, | ~~~~~~~~~ 480 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 481 | "tc" ) ) | ~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:500:80: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 500 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:617:72: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 617 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:13: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:283:30: required from here 283 | p_zipFile ->writeNum ( m_fillItemEqual ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:293:30: required from here 293 | p_zipFile ->writeNum( ( uint32 ) m_childItemsByName.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:284:30: required from here 284 | p_zipFile ->writeNum( m_fillItemTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [623/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBooleanField::save(DocxFactory::DocxMergerPasteFieldGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp:46:81: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 46 | if ( m_value == DocxMergerBooleanField::BOOLEAN_TRUE && l_pasteBooleanField ->getValue() == true | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [624/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteAltChunkField.cpp.o [625/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_wtmpparse.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_wtmpparse.cpp: In member function ‘virtual void wtmpparse_list_get_ele_and_del_UT_wtmpparse_list_get_ele_and_del_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_wtmpparse.cpp:126:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 126 | utmp info3 = list_get_ele_and_del(list, "test1", result); | ^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_wtmpparse.cpp: In member function ‘wtmpparse_list_delete_UT_wtmpparse_list_delete_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_wtmpparse.cpp:105:17: warning: ‘info’ is used uninitialized [-Wuninitialized] 105 | list->value = info; | ~~~~~~~~~~~~^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_wtmpparse.cpp:104:10: note: ‘info’ declared here 104 | utmp info; | ^~~~ [626/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBarcodeField.cpp.o [627/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In static member function ‘static void DocxFactory::DocxCompilerPicField::getFormat(std::string&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:65:33: warning: label ‘_param’ defined but not used [-Wunused-label] 65 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:81:41: warning: label ‘_value’ defined but not used [-Wunused-label] 81 | _value: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In constructor ‘DocxFactory::DocxCompilerPicField::DocxCompilerPicField(DocxFactory::DocxCompilerItem*, const std::string&, const std::string&, const std::map >*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:287:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 285 | if ( ( l_cursorNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | && XmlFunc::XMLChCmp( l_cursorNode ->getLocalName(), _X( "extent" ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | && XmlFunc::XMLChCmp( l_cursorNode ->getNamespaceURI(), _X( "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:8: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:368:30: required from here 368 | p_zipFile ->writeNum( m_picId ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:371:30: required from here 371 | p_zipFile ->writeNum ( m_useSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:377:31: required from here 377 | p_zipFile ->writeNum ( ( *l_picStringIterator ).second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [628/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp.o [629/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBooleanField.cpp.o [630/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:25: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:278:30: required from here 278 | p_zipFile ->writeNum ( m_hasToc ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:280:30: required from here 280 | p_zipFile ->writeNum( ( uint32 ) m_itemFiles.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:408:30: required from here 408 | p_zipFile ->writeNum( l_fieldIterator ->second ->getType() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [631/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logapplicationparsethread.cpp.o [632/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logdetailinfowidget.cpp.o [633/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o [634/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartField.cpp.o [635/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisNumber.cpp.o [636/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp: In member function ‘void DocxFactory::DocxCompilerStyleFile::loadStyles()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp:113:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | while ( l_styleNode = XmlFunc::getChildByTagName( | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | m_stylesNode, | ~~~~~~~~~~~~~ 115 | l_styleNode, | ~~~~~~~~~~~~ 116 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "style" ) ) | ~~~~~~~~~ [637/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisNumber.cpp.o [638/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp: In member function ‘bool DocxFactory::DocxMergerAltChunkField::getWord(const std::string&, const size_t&, size_t&, std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:422:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 422 | if ( !( p_str[ p_pos ] >= 'a' && p_str[ p_pos ] <= 'z' /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:424:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 424 | || p_str[ p_pos ] >= '0' && p_str[ p_pos ] <= '9' [639/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartValues.cpp.o [640/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisDateTime.cpp.o [641/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSingleSeries.cpp.o [642/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:944:30: required from here 944 | p_zipFile ->writeNum ( m_topLevel ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:953:30: required from here 953 | p_zipFile ->writeNum( ( uint32 ) m_path.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:948:30: required from here 948 | p_zipFile ->writeNum( m_pageSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [643/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/loglistview.cpp.o [644/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSeries.cpp.o [645/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerDateTimeField.cpp.o [646/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartValues.cpp.o [647/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteField.cpp.o [648/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteDateTimeField.cpp.o [649/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logviewitemdelegate.cpp.o [650/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp: In member function ‘virtual void DocxFactory::DocxMergerField::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp:52:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [651/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [652/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logperiodbutton.cpp.o [653/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logexportthread.cpp.o [654/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logauththread.cpp.o [655/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXYSize.cpp.o [656/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteNumberField.cpp.o [657/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteFieldGroup.cpp.o [658/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/UnoUtil/UnoException.cpp.o [659/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXY.cpp.o [660/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/WordProcessingCompiler.cpp.o [661/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPastePicField.cpp.o [662/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/CompileVersionMismatchException.cpp.o [663/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteTextField.cpp.o [664/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItem.cpp.o [665/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp: In member function ‘void DocxFactory::DocxMergerItemGroup::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:137:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 137 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:138:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 138 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:140:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 140 | m_fillItemTop = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:141:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 141 | m_fillItemMiddle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:142:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 142 | m_fillItemBottom = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:143:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 143 | m_fillItemSingle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:147:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 147 | m_spacerItem = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:158:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | m_childItemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [666/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItemGroup.cpp.o [667/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp: In member function ‘void DocxFactory::DocxMergerId::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:33:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 33 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [668/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidMergeDataException.cpp.o [669/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidItemNameException.cpp.o [670/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldFixedSeries.cpp.o [671/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logviewheaderview.cpp.o [672/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingException.cpp.o [673/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/TemplateNotLoadedException.cpp.o [674/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logcollectormain.cpp.o [675/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerNumberField.cpp.o [676/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisText.cpp.o [677/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/ConsoleException.cpp.o [678/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp: In member function ‘void DocxFactory::DocxMergerItemLayout::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp:85:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 85 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [679/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/ConsoleUsageException.cpp.o [680/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp: In member function ‘void DocxFactory::DocxMergerItem::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:180:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 180 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:181:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 181 | m_itemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:185:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | m_fillItemParent = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:186:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | m_fillItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:196:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 196 | m_path.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:202:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 202 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:209:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 209 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:215:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 215 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [681/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/InvalidArgException.cpp.o [682/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/InvalidOptException.cpp.o [683/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/UnoUtil/PropertyMap.cpp.o [684/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingMerger.cpp.o [685/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/GetOptException.cpp.o [686/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/MissingArgException.cpp.o [687/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/MissingOptException.cpp.o [688/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/json/JsonException.cpp.o [689/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logtreeview.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logtreeview.cpp: In member function ‘virtual void LogTreeView_UT_mousePressEvent_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logtreeview.cpp:84:110: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations] 84 | QMouseEvent event(QEvent::MouseButtonPress, QPointF(0, 0), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); | ^ In file included from /usr/include/qt6/QtGui/QPaintEvent:1, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logtreeview.cpp:13: /usr/include/qt6/QtGui/qevent.h:203:5: note: declared here 203 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button, | ^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logtreeview.cpp: In member function ‘virtual void LogTreeView_UT_mouseReleaseEvent_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logtreeview.cpp:91:114: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations] 91 | QMouseEvent event(QEvent::MouseButtonRelease, QPointF(20, 20), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); | ^ /usr/include/qt6/QtGui/qevent.h:203:5: note: declared here 203 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button, | ^~~~~~~~~~~ [690/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/json/ParseJsonException.cpp.o [691/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/json/ParseJsonFileException.cpp.o [692/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/UnexpectedArgException.cpp.o [693/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_compile(const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:134:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 134 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:169:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 169 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:203:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 203 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:239:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 239 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [694/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidCodePageException.cpp.o [695/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateTimeStrException.cpp.o [696/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/math/MathFunc.cpp.o [697/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/LocaleException.cpp.o [698/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateFormatException.cpp.o [699/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSeries.cpp.o [700/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/UnexpectedOptException.cpp.o [701/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcException.cpp.o [702/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_lognormalbutton.cpp.o [703/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXY.cpp.o [704/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSingleSeries.cpp.o [705/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/ContentTypeNotFound.cpp.o [706/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp.o [707/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/win/WinFunc.cpp.o [708/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/PartNotFoundException.cpp.o [709/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp: In member function ‘void DocxFactory::DocxMergerXmlString::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:234:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 234 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:235:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 235 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:238:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 238 | m_ptr = (void *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [710/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationship.cpp.o [711/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp: In member function ‘void DocxFactory::DocxMergerItemFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:428:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 428 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:438:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 438 | m_rootItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:443:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 443 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:449:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 449 | m_items.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:455:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 455 | m_fields.push_back((DocxMergerField *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:461:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 461 | m_sects.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [712/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/PartTypeNotFoundException.cpp.o [713/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_utils.cpp.o [714/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/FileExistsException.cpp.o [715/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/json/JsonFunc.cpp.o [716/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXYSize.cpp.o [717/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/FileNotFoundException.cpp.o [718/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/FileNotRemovedException.cpp.o [719/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/InvalidFileUrlException.cpp.o [720/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/OsException.cpp.o [721/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/DirNotFoundException.cpp.o [722/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerTextField.cpp.o [723/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/PathMissingExtException.cpp.o [724/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/word-processing-compiler.cpp.o [725/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/PathMissingFileException.cpp.o [726/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/FileNotOpenException.cpp.o [727/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/parser/ParserException.cpp.o [728/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/XmlInitializer.cpp.o [729/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/UnsupportedFileTypeException.cpp.o [730/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/parser/UnclosedBracketException.cpp.o [731/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/parser/UnmatchedQuoteException.cpp.o [732/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/deepin-log-viewer-test_autogen/LGW72NWG7Y/qrc_resources.cpp.o [733/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/FileInfo.cpp.o [734/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logexportthread.cpp.o [735/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/parser/UnexpectedBracketException.cpp.o [736/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/util/GeneralException.cpp.o [737/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/time/TimeFunc.cpp.o [738/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/util/UnknownException.cpp.o [739/1009] Building C object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/console/getopt.c.o [740/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [741/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/util/ArgTypeMismatchException.cpp.o [742/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp: In constructor ‘DocxFactory::AsciiToXMLCh::AsciiToXMLCh(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp:21:28: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 21 | m_xmlCh[ l_pos ] = NULL; | ^~~~ [743/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/IcuException.cpp.o [744/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/DomException.cpp.o [745/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryTimer.cpp.o [746/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/InvalidXmlPathException.cpp.o [747/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadBookmarks()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:158:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 158 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:161:67: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | && (l_parentBookmark ->getName().length() > 7 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:163:70: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 163 | || l_parentBookmark ->getName().length() > 3 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 3) == "_no")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:299:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 296 | if (l_pNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | && XmlFunc::XMLChCmp(l_pNode ->getLocalName(), _X("br")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | && XmlFunc::XMLChCmp(l_pNode ->getNamespaceURI(), _X("http://schemas.openxmlformats.org/wordprocessingml/2006/main")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | && XmlFunc::XMLChCmp(((xercesc::DOMElement *) l_pNode) ->getAttribute(Utf8ToXMLCh(m_wordMlPrefix + ":type")), _X("page")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:419:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 419 | while (l_cursorNode = (xercesc::DOMElement *) l_treeDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItemsByBookmark(DocxFactory::DocxCompilerBookmark*, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:690:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 690 | || l_nextChildBookmark ->getName().length() > 7 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:691:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 691 | || l_nextChildBookmark ->getName().length() > 4 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 4) == "_yes" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:692:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 692 | || l_nextChildBookmark ->getName().length() > 3 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 3) == "_no") { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:865:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 865 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1550:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1550 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1581:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1743:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1743 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1779:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1779 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2033:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2033 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2307:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2307 | while (l_node = l_textNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2321:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2321 | while (l_node = l_cursorNode ->getFirstChild()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2396:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2395 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2396 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2494:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2493 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2494 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2625:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2625 | while (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2646:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2646 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2655:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2655 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2659:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2659 | while (l_node = l_fldChar2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2664:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2664 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2673:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2673 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2677:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2677 | while (l_node = l_rNode2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2681:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2681 | while (l_node = l_pNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2722:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2722 | while (l_childNode = l_cursorNode ->getFirstChild()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeRuns()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2764:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2764 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2768:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2768 | while (l_rNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2769 | | 2770 | l_cursorNode, | ~~~~~~~~~~~~~ 2771 | l_rNode, | ~~~~~~~~ 2772 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2773 | "r")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2776:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2776 | if (l_tNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2777 | | 2778 | l_rNode, | ~~~~~~~~ 2779 | NULL, | ~~~~~ 2780 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2781 | "t")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2845:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2845 | } while (l_node = l_node ->getNextSibling()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2869:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2869 | while (l_node = l_tNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2881:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2881 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeTableBorders()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2953:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2953 | while (l_tblNode = (xercesc::DOMElement *) l_tblDriller ->nextNode()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3266:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3266 | while (l_node = XmlFunc::getChildByTagName( | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3267 | l_tcPrNode, | ~~~~~~~~~~~ 3268 | l_node, | ~~~~~~~ 3269 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3270 | "vMerge,hMerge")) { | ~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:36: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3888:33: required from here 3888 | p_zipFile ->writeNum (m_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3898:33: required from here 3898 | p_zipFile ->writeNum((uint32) m_itemGroups.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [748/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlException.cpp.o [749/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/str/StrEntries.cpp.o [750/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/NodeNotFoundException.cpp.o [751/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidYearOffsetException.cpp.o [752/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidFirstWeekDayException.cpp.o [753/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp: In member function ‘void DocxFactory::DocxMergerSettingsFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:62:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 62 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [754/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlFileException.cpp.o [755/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logauththread.cpp.o [756/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/XmlException.cpp.o [757/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/ZipException.cpp.o [758/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp.o [759/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/ZipFileNotOpenException.cpp.o [760/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/word-processing-merger.cpp.o [761/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamNotOpenException.cpp.o [762/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamOpenException.cpp.o [763/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/Utf8ToXMLCh.cpp.o [764/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/StrToXMLCh.cpp.o [765/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcImageCache.cpp.o [766/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:5: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp: In member function ‘void DocxFactory::DocxMergerFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:770:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 770 | m_itemFiles.push_back((DocxMergerItemFile *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:776:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 776 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:783:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 783 | m_itemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:790:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 790 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:797:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 797 | m_headerFieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:803:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 803 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:809:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 809 | m_ids.push_back((DocxMergerId *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [767/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp: In static member function ‘static std::string DocxFactory::OpcFunc::getRelativePath(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp:95:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 95 | if ( p_sourceDir[0] == '/' && p_path[0] == '/' [768/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logapplication.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp: In member function ‘LogApplication_Constructor_UT_LogApplication_Constructor_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp:22:54: warning: ‘argv’ is used uninitialized [-Wuninitialized] 22 | LogApplication *p = new LogApplication(argc, argv); | ^ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp:21:12: note: ‘argv’ was declared here 21 | char **argv; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp: In member function ‘LogApplication_setMainWindow_UT_LogApplication_setMainWindow_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp:45:54: warning: ‘argv’ is used uninitialized [-Wuninitialized] 45 | LogApplication *p = new LogApplication(argc, argv); | ^ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp:32:12: note: ‘argv’ was declared here 32 | char **argv; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp: In member function ‘LogApplication_notify_UT_LogApplication_notify_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp:102:54: warning: ‘argv’ is used uninitialized [-Wuninitialized] 102 | LogApplication *p = new LogApplication(argc, argv); | ^ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logapplication.cpp:89:12: note: ‘argv’ was declared here 89 | char **argv; | ^~~~ [769/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinterException.cpp.o [770/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/parser/ParserFunc.cpp.o [771/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConversionNotSupportedException.cpp.o [772/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ExportFormatNotSupportedException.cpp.o [773/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OleException.cpp.o [774/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryException.cpp.o [775/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcPart.cpp.o [776/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/ConverterPrinter.cpp.o [777/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/os/OsFunc.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/os/OsFunc.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp: In static member function ‘static std::string DocxFactory::OsFunc::normalizeFileUrl(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/util/DocxFactoryDefs.h:65:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 65 | #define IS_LETTER( val ) ( val >= 'A' && val <= 'Z' || val >= 'a' && val <= 'z' ) /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:276:22: note: in expansion of macro ‘IS_LETTER’ 276 | && IS_LETTER( l_url[ i + 1 ] ) | ^~~~~~~~~ [778/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/unix/UnixFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp: In static member function ‘static void DocxFactory::UnixFunc::setWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp:466:15: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 466 | getcwd( l_buf, FILENAME_MAX ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [779/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/PrintingNotSupportedException.cpp.o [780/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/str/StrFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::caps(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:112:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 112 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::lc(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:127:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 127 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::rightTrim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:159:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 159 | if ( l_pos == -1 ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::trim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:190:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 190 | if ( l_pos2 == -1 ) | ~~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::removeDuplicate(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:229:29: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 229 | l_str[ l_strLen ] = NULL; | ^~~~ [781/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logfileparser.cpp.o [782/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilFailedException.cpp.o [783/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/UtilNotFoundException.cpp.o [784/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/GradeGroup.cpp.o [785/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logoocfileparsethread.cpp.o [786/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/MinizipException.cpp.o [787/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OdfConverterUtil.cpp.o [788/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/ConverterPrinter/OpenOfficeUtil.cpp.o [789/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/ZipFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:270:10: required from here 270 | writeNum( ( uint32 ) ptrToSeq( p_ptr ) ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [790/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcContentTypes.cpp.o [791/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:9: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_load(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:115:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 115 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_save(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:221:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 221 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_print(const char*, short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:267:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 267 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_merge(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:355:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 355 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrStr(const char*, const char*, const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:403:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 403 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrDouble(const char*, const char*, const char*, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:455:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 455 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByDoubleDouble(const char*, const char*, double, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:506:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 506 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByStr(const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:551:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 551 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByDouble(const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:600:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 600 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_paste(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:640:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 640 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:723:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 723 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:778:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 778 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemParent(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:841:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 841 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemFields(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:908:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 908 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setCodePage(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:947:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 947 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumFracSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:977:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 977 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumThSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1007:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1007 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setDateFormat(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1037:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1037 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setYearOffset(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1067:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1067 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setFirstWeekDay(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1103:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1103 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1133:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1133 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames7(const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1177:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1177 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames14(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1256:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1256 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1321:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1321 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames12(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1375:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1375 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames24(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1484:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1484 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1575:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1575 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumFracSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1607:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1607 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumThSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1639:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1639 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getDateFormat()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1675:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1675 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getYearOffset()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1707:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1707 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getFirstWeekDay()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1739:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1739 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1775:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1775 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1816:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1816 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1857:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1857 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1898:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1898 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1940:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1940 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1974:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1974 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:2010:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 2010 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [792/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcPackage.cpp.o [793/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/ZipFunc.cpp.o [794/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::setCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:75:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 75 | if (l_stdName = ucnv_getStandardName(l_icuName, "MIME", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:78:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 78 | else if (l_stdName = ucnv_getStandardName(l_icuName, "IANA", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::getDateTimeFormat(const std::string&, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:1780:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1780 | && (l_pos + 4 < l_len && StrFunc::lc(p_format.substr(l_pos + 1, 4)) == "m/pm" | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [795/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationships.cpp.o [796/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp: In member function ‘xercesc_3_3::DOMNode* DocxFactory::XmlTreeDriller::drillNode()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp:182:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 181 | || ( m_drillTagNsAll || m_drillTagNsList.find( l_nodeNs ) != m_drillTagNsList.end() ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | && ( m_drillTagAll || m_drillTagList.find( l_nodeName ) != m_drillTagList.end() ) ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [797/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/zip/UnzipFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp: In member function ‘std::string DocxFactory::UnzipFile::readStr()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp:257:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 257 | l_buf[ l_bufSize ] = NULL; | ^~~~ [798/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/3rdparty/DocxFactory/src/xml/XmlFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::removeAttrByNamespace(xercesc_3_3::DOMElement*, const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:535:40: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 535 | for ( l_pos = l_len - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static XMLCh* DocxFactory::XmlFunc::ucharToXMLCh(const UChar*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:799:21: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 799 | l_xstr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static UChar* DocxFactory::XmlFunc::XMLChToUChar(const XMLCh*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:815:21: warning: converting to non-pointer type ‘UChar’ {aka ‘char16_t’} from NULL [-Wconversion-null] 815 | l_ustr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::unindentDocRecurr(const xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:839:64: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 839 | for ( l_pos = l_childNodeList ->getLength() - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ [799/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyle.cpp.o [800/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTableStyle.cpp.o [801/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logcollectormain.cpp.o In file included from /usr/include/gtest/gtest.h:68, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:23: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp: In function ‘testing::internal::ParamGenerator gtest_LogCollectorMainLogCollectorMain_handleApplicationTabEventNotify_UT_EvalGenerator_()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:176: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:270: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:379: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:510: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:622: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:756: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:888: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp: In function ‘std::string gtest_LogCollectorMainLogCollectorMain_handleApplicationTabEventNotify_UT_EvalGenerateName_(const testing::TestParamInfo&)’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:176: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:270: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:379: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:510: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:622: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:756: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:240:888: warning: enum constant in boolean context [-Wint-in-bool-context] 240 | LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "titlebar", true, ""), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "searchChildEdt", false, "titlebar"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "DTitlebarDWindowCloseButton", false, "logTypeSelectList"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Tab, "mainLogTable", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "logTypeSelectList", true, "DTitlebarDWindowCloseButton"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "DTitlebarDWindowOptionButton", true, "searchChildEdt"), LogCollectorMain_handleApplicationTabEventNotify_UT_Param(Qt::Key_Backtab, "searchChildEdt", true, "") | ~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp: In member function ‘virtual void LogCollectorMain_switchRefreshActionTriggered_UT_LogCollectorMain_switchRefreshActionTriggered_UT_001_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:317:24: warning: converting from ‘bool (LogApplication::*)(QObject*, QEvent*)’ to ‘fptr’ {aka ‘bool (*)(LogApplication*)’} [-Wpmf-conversions] 317 | fptr test = (fptr)(&LogApplication::notify); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp: In member function ‘virtual void LogCollectorMain_exportAllLogs_UT_LogCollectorMain_exportAllLogs_UT_001_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:348:24: warning: converting from ‘bool (LogApplication::*)(QObject*, QEvent*)’ to ‘fptr’ {aka ‘bool (*)(LogApplication*)’} [-Wpmf-conversions] 348 | fptr test = (fptr)(&LogApplication::notify); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp: In member function ‘virtual void LogCollectorMain_exportAllLogs_UT_LogCollectorMain_exportAllLogs_UT_002_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:372:24: warning: converting from ‘bool (LogApplication::*)(QObject*, QEvent*)’ to ‘fptr’ {aka ‘bool (*)(LogApplication*)’} [-Wpmf-conversions] 372 | fptr test = (fptr)(&LogApplication::notify); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:382:27: warning: converting from ‘int (Dtk::Widget::DDialog::*)()’ to ‘fptr2’ {aka ‘int (*)(Dtk::Widget::DDialog*)’} [-Wpmf-conversions] 382 | fptr2 test1 = (fptr2)(&DDialog::exec); | ^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp: In member function ‘virtual void LogCollectorMain_closeEvent_UT_LogCollectorMain_closeEvent_UT_001_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_logcollectormain.cpp:403:24: warning: converting from ‘bool (LogApplication::*)(QObject*, QEvent*)’ to ‘fptr’ {aka ‘bool (*)(LogApplication*)’} [-Wpmf-conversions] 403 | fptr test = (fptr)(&LogApplication::notify); | ^~~~~~~~~~~~~~~~~~~~~~~ [802/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/deepin-log-viewer-test_autogen/mocs_compilation.cpp.o [803/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxis.cpp.o [804/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBooleanField.cpp:47:30: required from here 47 | p_zipFile ->writeNum ( m_value ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [805/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:4: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:52:30: required from here 52 | p_zipFile ->writeNum( ( uint32 ) m_dateTimeFormat.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:58:31: required from here 58 | p_zipFile ->writeNum ( l_dateTimeFormat ->m_entry ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerDateTimeField.cpp:59:31: required from here 59 | p_zipFile ->writeNum( l_dateTimeFormat ->m_entryLen ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [806/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerAltChunkField.cpp:297:30: required from here 297 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [807/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerTextField.cpp.o [808/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisText.cpp.o [809/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:7: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerXmlString.cpp:39:30: required from here 39 | p_zipFile ->writeNum ( m_type ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [810/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:56:30: required from here 56 | p_zipFile ->writeNum ( m_seq ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerId.cpp:57:30: required from here 57 | p_zipFile ->writeNum ( m_isNum ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [811/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp: In member function ‘virtual void DocxFactory::DocxMergerBooleanField::save(DocxFactory::DocxMergerPasteFieldGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBooleanField.cpp:46:81: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 46 | if ( m_value == DocxMergerBooleanField::BOOLEAN_TRUE && l_pasteBooleanField ->getValue() == true | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [812/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp: In member function ‘void DocxFactory::DocxCompilerBookmark::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:104:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 104 | if (XmlFunc::XMLChCmp(l_startNodePath[l_commonParent]->getLocalName(), _X("p")) | ^~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerBookmark.cpp:117:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 117 | if ( XmlFunc::XMLChCmp( l_startNodePath[ l_commonParent ] -> getLocalName(), _X( "tr" ) ) ) | ^~ [813/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:6: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:115:30: required from here 115 | p_zipFile ->writeNum( m_numFormat ->m_posLeftDigCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerNumberField.cpp:119:30: required from here 119 | p_zipFile ->writeNum ( m_numFormat ->m_posSep ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [814/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:162:30: required from here 162 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXY.cpp:166:31: required from here 166 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [815/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerBarcodeField.cpp.o [816/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerException.cpp.o [817/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp: In constructor ‘DocxFactory::DocxCompilerChartFieldSingleSeries::DocxCompilerChartFieldSingleSeries(DocxFactory::DocxCompilerItem*, const std::string&, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*, DocxFactory::OpcPart*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:43:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 43 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:232:30: required from here 232 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:236:31: required from here 236 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSingleSeries.cpp:239:30: required from here 239 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [818/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:164:30: required from here 164 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldXYSize.cpp:168:31: required from here 168 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [819/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:135:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 135 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldSeries.cpp:125:30: required from here 125 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [820/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerSettingsFile.cpp.o [821/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp: In member function ‘void DocxFactory::DocxCompilerChartFieldFixedSeries::loadSeries(xercesc_3_3::DOMElement*, char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:142:9: warning: label ‘DocxCompilerField’ defined but not used [-Wunused-label] 142 | DocxCompilerField:FieldType l_fieldType; | ^~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:107:30: required from here 107 | p_zipFile ->writeNum( ( uint32 ) m_chartStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:111:31: required from here 111 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartFieldFixedSeries.cpp:132:30: required from here 132 | p_zipFile ->writeNum ( m_catType ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [822/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisDateTime.cpp.o [823/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:15: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:218:30: required from here 218 | p_zipFile ->writeNum( ( uint32 ) m_drawingStrings.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerChartField.cpp:222:31: required from here 222 | p_zipFile ->writeNum ( l_stringIterator ->second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [824/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp: In member function ‘bool DocxFactory::DocxMergerAltChunkField::getWord(const std::string&, const size_t&, size_t&, std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:422:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 422 | if ( !( p_str[ p_pos ] >= 'a' && p_str[ p_pos ] <= 'z' /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerAltChunkField.cpp:424:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 424 | || p_str[ p_pos ] >= '0' && p_str[ p_pos ] <= '9' [825/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/logbackend.cpp.o [826/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp: In static member function ‘static void DocxFactory::DocxCompilerField::getTypeAndFormat(std::string&, FieldType&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:107:33: warning: label ‘_param’ defined but not used [-Wunused-label] 107 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerField.cpp:288:21: warning: label ‘_value’ defined but not used [-Wunused-label] 288 | _value: | ^~~~~~ [827/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In static member function ‘static void DocxFactory::DocxCompilerPicField::getFormat(std::string&, std::map >*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:65:33: warning: label ‘_param’ defined but not used [-Wunused-label] 65 | _param: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:81:41: warning: label ‘_value’ defined but not used [-Wunused-label] 81 | _value: | ^~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp: In constructor ‘DocxFactory::DocxCompilerPicField::DocxCompilerPicField(DocxFactory::DocxCompilerItem*, const std::string&, const std::string&, const std::map >*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:287:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 285 | if ( ( l_cursorNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | && XmlFunc::XMLChCmp( l_cursorNode ->getLocalName(), _X( "extent" ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | && XmlFunc::XMLChCmp( l_cursorNode ->getNamespaceURI(), _X( "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:8: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:368:30: required from here 368 | p_zipFile ->writeNum( m_picId ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:371:30: required from here 371 | p_zipFile ->writeNum ( m_useSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerPicField.cpp:377:31: required from here 377 | p_zipFile ->writeNum ( ( *l_picStringIterator ).second ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [828/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartAxisNumber.cpp.o [829/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp: In constructor ‘DocxFactory::DocxCompilerItemLayout::DocxCompilerItemLayout(DocxFactory::DocxCompilerItemFile*, xercesc_3_3::DOMElement*, xercesc_3_3::DOMNode*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:85:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | while ( l_cursorNode = ( xercesc::DOMElement* ) l_cursorDriller ->nextNode() ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:97:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 97 | while ( l_tcNode = l_tcNode ->getNextSibling() ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:109:56: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | while ( l_node = XmlFunc::getChildByTagName( l_tcPrNode, l_node, "http://schemas.openxmlformats.org/wordprocessingml/2006/main", "vMerge,gridSpan" ) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:10: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:228:30: required from here 228 | p_zipFile ->writeNum( false ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:244:30: required from here 244 | p_zipFile ->writeNum( ( uint32 ) m_trList.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:250:32: required from here 250 | p_zipFile ->writeNum( l_tcIterator ->first ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemLayout.cpp:243:30: required from here 243 | p_zipFile ->writeNum( m_fixedTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [830/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::createStripePlaceHoldersByGroup(DocxFactory::DocxCompilerItemGroup*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:235:88: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 235 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp: In member function ‘void DocxFactory::DocxCompilerItemGroup::setFillItem(DocxFactory::DocxCompilerItem*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:477:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 477 | while ( l_tcNode = XmlFunc::getChildByTagName( | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | l_trNodeTemp, | ~~~~~~~~~~~~~ 479 | l_tcNode, | ~~~~~~~~~ 480 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 481 | "tc" ) ) | ~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:500:80: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 500 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:617:72: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 617 | for ( l_pos = l_len - 1; l_pos != -1; l_pos-- ) | ~~~~~~^~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:13: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:283:30: required from here 283 | p_zipFile ->writeNum ( m_fillItemEqual ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:293:30: required from here 293 | p_zipFile ->writeNum( ( uint32 ) m_childItemsByName.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemGroup.cpp:284:30: required from here 284 | p_zipFile ->writeNum( m_fillItemTrCnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [831/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteAltChunkField.cpp.o [832/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxis.cpp.o [833/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:25: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:278:30: required from here 278 | p_zipFile ->writeNum ( m_hasToc ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:280:30: required from here 280 | p_zipFile ->writeNum( ( uint32 ) m_itemFiles.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerFile.cpp:408:30: required from here 408 | p_zipFile ->writeNum( l_fieldIterator ->second ->getType() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [834/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSingleSeries.cpp.o [835/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp: In member function ‘void DocxFactory::DocxCompilerStyleFile::loadStyles()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerStyleFile.cpp:113:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | while ( l_styleNode = XmlFunc::getChildByTagName( | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | m_stylesNode, | ~~~~~~~~~~~~~ 115 | l_styleNode, | ~~~~~~~~~~~~ 116 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | "style" ) ) | ~~~~~~~~~ [836/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBooleanField.cpp.o [837/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteBarcodeField.cpp.o [838/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartValues.cpp.o [839/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldSeries.cpp.o [840/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartField.cpp.o [841/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [842/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/wtmpparse.cpp.o [843/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXY.cpp.o [844/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisDateTime.cpp.o [845/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldXYSize.cpp.o [846/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartValues.cpp.o [847/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisNumber.cpp.o [848/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/__/application/displaycontent.cpp.o [849/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerChartFieldFixedSeries.cpp.o [850/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:14: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned char]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned char; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:944:30: required from here 944 | p_zipFile ->writeNum ( m_topLevel ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:953:30: required from here 953 | p_zipFile ->writeNum( ( uint32 ) m_path.size() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:140:13: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = double; typename boost::enable_if, void>::type = void]’ 140 | writeNum(l_pack.m_exp); | ~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItem.cpp:948:30: required from here 948 | p_zipFile ->writeNum( m_pageSize ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [851/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteDateTimeField.cpp.o [852/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/sharedmemorymanager.cpp.o [853/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteField.cpp.o [854/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/dbusmanager.cpp.o [855/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerDateTimeField.cpp.o [856/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPastePicField.cpp.o [857/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp: In member function ‘void DocxFactory::DocxMergerId::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerId.cpp:33:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 33 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [858/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp: In member function ‘virtual void DocxFactory::DocxMergerField::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerField.cpp:52:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [859/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteNumberField.cpp.o [860/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteFieldGroup.cpp.o [861/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItemGroup.cpp.o [862/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/WordProcessingCompiler.cpp.o [863/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/UnoUtil/UnoException.cpp.o [864/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/CompileVersionMismatchException.cpp.o [865/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteTextField.cpp.o [866/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidMergeDataException.cpp.o [867/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingException.cpp.o [868/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/TemplateNotLoadedException.cpp.o [869/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteItem.cpp.o [870/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/InvalidItemNameException.cpp.o [871/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerNumberField.cpp.o [872/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp: In member function ‘void DocxFactory::DocxMergerItemGroup::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:137:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 137 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:138:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 138 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:140:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 140 | m_fillItemTop = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:141:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 141 | m_fillItemMiddle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:142:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 142 | m_fillItemBottom = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:143:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 143 | m_fillItemSingle = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:147:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 147 | m_spacerItem = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemGroup.cpp:158:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | m_childItemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [873/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_loglistview.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_loglistview.cpp: In member function ‘virtual void LogListView_mousePressEvent_UT_LogListView_mousePressEvent_UT_001_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_loglistview.cpp:348:102: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations] 348 | QMouseEvent keyEvent(QEvent::MouseButtonPress, QPoint(1, 1), param.key, param.key, Qt::NoModifier); | ^ In file included from /usr/include/qt6/QtGui/QHelpEvent:1, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_loglistview.cpp:16: /usr/include/qt6/QtGui/qevent.h:203:5: note: declared here 203 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button, | ^~~~~~~~~~~ [874/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartAxisText.cpp.o [875/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/WordProcessingMerger.cpp.o [876/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp: In member function ‘void DocxFactory::DocxMergerItemLayout::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemLayout.cpp:85:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 85 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [877/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp: In member function ‘void DocxFactory::DocxMergerItem::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:180:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 180 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:181:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 181 | m_itemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:185:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | m_fillItemParent = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:186:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | m_fillItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:196:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 196 | m_path.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:202:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 202 | m_childItemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:209:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 209 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItem.cpp:215:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 215 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [878/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/ConsoleException.cpp.o [879/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/UnoUtil/PropertyMap.cpp.o [880/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/ConsoleUsageException.cpp.o [881/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/GetOptException.cpp.o [882/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/InvalidArgException.cpp.o [883/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldFixedSeries.cpp.o [884/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/MissingOptException.cpp.o [885/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/json/JsonException.cpp.o [886/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_compile(const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:134:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 134 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘void dfwc_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:169:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 169 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:203:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 203 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp: In function ‘const char* dfwc_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingCompiler/dfwc.cpp:239:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 239 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [887/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/MissingArgException.cpp.o [888/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/UnexpectedArgException.cpp.o [889/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/InvalidOptException.cpp.o [890/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSeries.cpp.o [891/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/src/ut_main.cpp.o [892/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/UnexpectedOptException.cpp.o [893/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/liblogviewerplugin/src/plugininterfaces/logviewerplugininterface.cpp.o [894/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/json/ParseJsonFileException.cpp.o [895/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/json/ParseJsonException.cpp.o [896/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateTimeStrException.cpp.o [897/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXY.cpp.o [898/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidDateFormatException.cpp.o [899/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidCodePageException.cpp.o [900/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/LocaleException.cpp.o [901/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldXYSize.cpp.o [902/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/math/MathFunc.cpp.o [903/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPasteChartFieldSingleSeries.cpp.o [904/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/ContentTypeNotFound.cpp.o [905/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcException.cpp.o [906/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logsettings.cpp.o [907/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/json/JsonFunc.cpp.o [908/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingCompiler/word-processing-compiler.cpp.o [909/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerPicField.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ [910/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/PartNotFoundException.cpp.o [911/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/FileNotFoundException.cpp.o [912/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp: In member function ‘void DocxFactory::DocxMergerItemFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:428:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 428 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:438:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 438 | m_rootItemGroup = (DocxMergerItemGroup *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:443:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 443 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:449:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 449 | m_items.push_back((DocxMergerItem *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:455:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 455 | m_fields.push_back((DocxMergerField *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerItemFile.cpp:461:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 461 | m_sects.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [913/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp: In member function ‘void DocxFactory::DocxMergerXmlString::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:234:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 234 | m_itemFile = (DocxMergerItemFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:235:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 235 | m_item = (DocxMergerItem *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerXmlString.cpp:238:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 238 | m_ptr = (void *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [914/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/DirNotFoundException.cpp.o [915/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/PartTypeNotFoundException.cpp.o [916/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/FileExistsException.cpp.o [917/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/win/WinFunc.cpp.o [918/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/OsException.cpp.o [919/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/FileNotOpenException.cpp.o [920/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/PathMissingFileException.cpp.o [921/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationship.cpp.o [922/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/InvalidFileUrlException.cpp.o [923/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/FileNotRemovedException.cpp.o [924/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerTextField.cpp.o [925/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/parser/ParserException.cpp.o [926/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/PathMissingExtException.cpp.o [927/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/UnsupportedFileTypeException.cpp.o [928/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/XmlInitializer.cpp.o [929/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/parser/UnclosedBracketException.cpp.o [930/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/FileInfo.cpp.o [931/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/dbusproxy/userlogaccess.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp: In member function ‘qint64 UserLogAccess::readFileAndReturnIndex(const QString&, qint64, QList&, bool)’: /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:160:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 160 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/application/dbusproxy/userlogaccess.cpp:174:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘qint64’ {aka ‘long long int’} [-Wsign-compare] 174 | if (lineNumber > startLine && !reverseOrder) { | ~~~~~~~~~~~^~~~~~~~~~~ [932/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/IcuException.cpp.o [933/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidFirstWeekDayException.cpp.o [934/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/parser/UnexpectedBracketException.cpp.o [935/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp: In member function ‘void DocxFactory::DocxMergerSettingsFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerSettingsFile.cpp:62:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 62 | m_file = (DocxMergerFile *) p_unzipFile ->readNum(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [936/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/time/TimeFunc.cpp.o [937/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/parser/UnmatchedQuoteException.cpp.o [938/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/InvalidYearOffsetException.cpp.o [939/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadBookmarks()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:158:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 158 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:161:67: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | && (l_parentBookmark ->getName().length() > 7 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:163:70: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 163 | || l_parentBookmark ->getName().length() > 3 && l_parentBookmark ->getName().substr(l_parentBookmark ->getName().length() - 3) == "_no")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:299:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 296 | if (l_pNode ->getNodeType() == xercesc::DOMNode::ELEMENT_NODE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | && XmlFunc::XMLChCmp(l_pNode ->getLocalName(), _X("br")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | && XmlFunc::XMLChCmp(l_pNode ->getNamespaceURI(), _X("http://schemas.openxmlformats.org/wordprocessingml/2006/main")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | && XmlFunc::XMLChCmp(((xercesc::DOMElement *) l_pNode) ->getAttribute(Utf8ToXMLCh(m_wordMlPrefix + ":type")), _X("page")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:419:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 419 | while (l_cursorNode = (xercesc::DOMElement *) l_treeDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadItemsByBookmark(DocxFactory::DocxCompilerBookmark*, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:690:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 690 | || l_nextChildBookmark ->getName().length() > 7 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 7) == "_notset" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:691:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 691 | || l_nextChildBookmark ->getName().length() > 4 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 4) == "_yes" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:692:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 692 | || l_nextChildBookmark ->getName().length() > 3 && l_nextChildBookmark ->getName().substr(l_nextChildBookmark ->getName().length() - 3) == "_no") { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::loadFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:865:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 865 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1550:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1550 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1581:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1743:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1743 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:1779:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1779 | if (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalize()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2033:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2033 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2307:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2307 | while (l_node = l_textNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2321:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2321 | while (l_node = l_cursorNode ->getFirstChild()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2396:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2395 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2396 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2494:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2493 | || !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkStart")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2494 | && !XmlFunc::XMLChCmp(l_childNode ->getLocalName(), _X("bookmarkEnd")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2625:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2625 | while (l_node = l_treeDriller ->nextNode()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2646:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2646 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2655:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2655 | while (l_node = l_fldChar ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2659:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2659 | while (l_node = l_fldChar2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2664:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2664 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2673:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2673 | while (l_node = l_rNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2677:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2677 | while (l_node = l_rNode2 ->getPreviousSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2681:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2681 | while (l_node = l_pNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2722:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2722 | while (l_childNode = l_cursorNode ->getFirstChild()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeRuns()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2764:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2764 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2768:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2768 | while (l_rNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2769 | | 2770 | l_cursorNode, | ~~~~~~~~~~~~~ 2771 | l_rNode, | ~~~~~~~~ 2772 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2773 | "r")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2776:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2776 | if (l_tNode = XmlFunc::getChildByTagName( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2777 | | 2778 | l_rNode, | ~~~~~~~~ 2779 | NULL, | ~~~~~ 2780 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2781 | "t")) { | ~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2845:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2845 | } while (l_node = l_node ->getNextSibling()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2869:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2869 | while (l_node = l_tNode ->getNextSibling()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2881:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2881 | while (l_cursorNode = (xercesc::DOMElement *) l_cursorDriller ->nextNode()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp: In member function ‘void DocxFactory::DocxCompilerItemFile::normalizeTableBorders()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:2953:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2953 | while (l_tblNode = (xercesc::DOMElement *) l_tblDriller ->nextNode()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3266:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3266 | while (l_node = XmlFunc::getChildByTagName( | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3267 | l_tcPrNode, | ~~~~~~~~~~~ 3268 | l_node, | ~~~~~~~ 3269 | "http://schemas.openxmlformats.org/wordprocessingml/2006/main", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3270 | "vMerge,hMerge")) { | ~~~~~~~~~~~~~~~~ In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:36: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = short int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = short int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3888:33: required from here 3888 | p_zipFile ->writeNum (m_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxCompiler/DocxCompilerItemFile.cpp:3898:33: required from here 3898 | p_zipFile ->writeNum((uint32) m_itemGroups.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [940/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/util/UnknownException.cpp.o [941/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/util/GeneralException.cpp.o [942/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/util/ArgTypeMismatchException.cpp.o [943/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/journalbootwork.cpp.o [944/1009] Building C object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/console/getopt.c.o [945/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/word-processing-merger.cpp.o [946/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/XmlException.cpp.o [947/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp: In constructor ‘DocxFactory::AsciiToXMLCh::AsciiToXMLCh(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/AsciiToXMLCh.cpp:21:28: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 21 | m_xmlCh[ l_pos ] = NULL; | ^~~~ [948/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/InvalidXmlPathException.cpp.o [949/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/NodeNotFoundException.cpp.o [950/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlException.cpp.o [951/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/str/StrEntries.cpp.o [952/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcImageFile.cpp.o [953/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/DomException.cpp.o [954/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/ParseXmlFileException.cpp.o [955/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryTimer.cpp.o [956/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/Utf8ToXMLCh.cpp.o [957/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/ZipException.cpp.o [958/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp: In static member function ‘static std::string DocxFactory::OpcFunc::getRelativePath(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/opc/OpcFunc.cpp:95:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 95 | if ( p_sourceDir[0] == '/' && p_path[0] == '/' [959/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:5: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp: In member function ‘void DocxFactory::DocxMergerFile::deserialize(DocxFactory::UnzipFile*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:770:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 770 | m_itemFiles.push_back((DocxMergerItemFile *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:776:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 776 | m_itemGroups.push_back((DocxMergerItemGroup *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:783:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 783 | m_itemsByName.insert(make_pair(l_str, (DocxMergerItem *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:790:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 790 | m_fieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:797:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 797 | m_headerFieldsByName.insert(make_pair(l_str, (DocxMergerField *) l_ptrSeq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:803:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 803 | m_xmlStrings.push_back((DocxMergerXmlString *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/DocxMerger/DocxMergerFile.cpp:809:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 809 | m_ids.push_back((DocxMergerId *) l_ptrSeq); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [960/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/StrToXMLCh.cpp.o [961/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/journalwork.cpp.o [962/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamNotOpenException.cpp.o [963/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/ZipFileNotOpenException.cpp.o [964/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/ZipStreamOpenException.cpp.o [965/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcImageCache.cpp.o [966/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/util/DocxFactoryException.cpp.o [967/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/os/OsFunc.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/os/OsFunc.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp: In static member function ‘static std::string DocxFactory::OsFunc::normalizeFileUrl(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/util/DocxFactoryDefs.h:65:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 65 | #define IS_LETTER( val ) ( val >= 'A' && val <= 'Z' || val >= 'a' && val <= 'z' ) /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/os/OsFunc.cpp:276:22: note: in expansion of macro ‘IS_LETTER’ 276 | && IS_LETTER( l_url[ i + 1 ] ) | ^~~~~~~~~ [968/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/exportprogressdlg.cpp.o [969/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/unix/UnixFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp: In static member function ‘static void DocxFactory::UnixFunc::setWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/unix/UnixFunc.cpp:466:15: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 466 | getcwd( l_buf, FILENAME_MAX ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [970/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcPart.cpp.o [971/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/parser/ParserFunc.cpp.o [972/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logapplicationhelper.cpp.o [973/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:9: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/opc/OpcPackage.h:38:30: warning: ‘virtual void DocxFactory::OpcPackage::save(const std::string&)’ was hidden [-Woverloaded-virtual=] 38 | virtual void save( const string& p_fileName ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/DocxMerger/DocxMergerFile.h:53:30: note: by ‘virtual void DocxFactory::DocxMergerFile::save(const std::string&, bool)’ 53 | virtual void save( const string& p_fileName, bool p_updateToc = false ); | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_load(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:115:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 115 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_save(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:221:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 221 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_print(const char*, short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:267:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 267 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_merge(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:355:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 355 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrStr(const char*, const char*, const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:403:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 403 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByStrDouble(const char*, const char*, const char*, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:455:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 455 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setChartValueByDoubleDouble(const char*, const char*, double, double, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:506:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 506 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByStr(const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:551:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 551 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setClipboardValueByDouble(const char*, const char*, double)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:600:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 600 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_paste(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:640:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 640 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getFields()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:723:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 723 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItems()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:778:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 778 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemParent(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:841:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 841 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getItemFields(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:908:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 908 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setCodePage(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:947:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 947 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumFracSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:977:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 977 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setNumThSep(char)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1007:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1007 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setDateFormat(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1037:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1037 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setYearOffset(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1067:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1067 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setFirstWeekDay(short unsigned int)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1103:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1103 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1133:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1133 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames7(const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1177:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1177 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setWeekDayNames14(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1256:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1256 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames0()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1321:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1321 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames12(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1375:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1375 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setMonthNames24(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1484:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1484 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1575:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1575 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumFracSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1607:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1607 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘char dfw_getNumThSep()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1639:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1639 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getDateFormat()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1675:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1675 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getYearOffset()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1707:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1707 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘short unsigned int dfw_getFirstWeekDay()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1739:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1739 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1775:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1775 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWeekDayShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1816:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1816 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthFullNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1857:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1857 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getMonthShortNames()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1898:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1898 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘void dfw_setTempDir(const char*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1940:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1940 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getTempDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:1974:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 1974 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp: In function ‘const char* dfw_getWorkDir()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/WordProcessingMerger/dfw.cpp:2010:25: warning: catching polymorphic type ‘class DocxFactory::DocxFactoryException’ by value [-Wcatch-value=] 2010 | catch ( DocxFactoryException ) { throw; } | ^~~~~~~~~~~~~~~~~~~~ [974/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/dbusproxy/dldbusinterface.cpp.o [975/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/MinizipException.cpp.o [976/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::setCodePage()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:75:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 75 | if (l_stdName = ucnv_getStandardName(l_icuName, "MIME", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:78:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 78 | else if (l_stdName = ucnv_getStandardName(l_icuName, "IANA", &l_err)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp: In static member function ‘static void DocxFactory::LocaleFunc::getDateTimeFormat(const std::string&, std::__cxx11::list*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/locale/LocaleFunc.cpp:1780:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1780 | && (l_pos + 4 < l_len && StrFunc::lc(p_format.substr(l_pos + 1, 4)) == "m/pm" | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [977/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcPackage.cpp.o [978/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/str/StrFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::caps(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:112:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 112 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::lc(const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:127:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 127 | l_str[ l_pos ] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::rightTrim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:159:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 159 | if ( l_pos == -1 ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::trim(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:190:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 190 | if ( l_pos2 == -1 ) | ~~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp: In static member function ‘static std::string DocxFactory::StrFunc::removeDuplicate(const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/str/StrFunc.cpp:229:29: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 229 | l_str[ l_strLen ] = NULL; | ^~~~ [979/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcRelationships.cpp.o [980/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/ZipFunc.cpp.o [981/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/opc/OpcContentTypes.cpp.o [982/1009] Linking CXX executable logViewerTruncate/logViewerTruncate [983/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/ZipFile.cpp.o In file included from /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:5, from /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:2: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h: In instantiation of ‘static void DocxFactory::ZipFunc::toLittleEndian(T&) [with T = unsigned int]’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFile.h:130:28: required from ‘typename boost::enable_if, void>::type DocxFactory::ZipFile::writeNum(T) [with T = unsigned int; typename boost::enable_if, void>::type = void]’ 130 | ZipFunc::toLittleEndian(p_val); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/ZipFile.cpp:270:10: required from here 270 | writeNum( ( uint32 ) ptrToSeq( p_ptr ) ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/tests/../3rdparty/DocxFactory/include/DocxFactory/zip/ZipFunc.h:83:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 83 | reverse((char *)p_val, sizeof(p_val)); | ^~~~~~~~~~~~~ [984/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp: In member function ‘xercesc_3_3::DOMNode* DocxFactory::XmlTreeDriller::drillNode()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlTreeDriller.cpp:182:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 181 | || ( m_drillTagNsAll || m_drillTagNsList.find( l_nodeNs ) != m_drillTagNsList.end() ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | && ( m_drillTagAll || m_drillTagList.find( l_nodeName ) != m_drillTagList.end() ) ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [985/1009] Linking CXX executable logViewerAuth/logViewerAuth [986/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/zip/UnzipFile.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp: In member function ‘std::string DocxFactory::UnzipFile::readStr()’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/zip/UnzipFile.cpp:257:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] 257 | l_buf[ l_bufSize ] = NULL; | ^~~~ [987/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_logbackend.cpp.o [988/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/3rdparty/DocxFactory/src/xml/XmlFunc.cpp.o /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::removeAttrByNamespace(xercesc_3_3::DOMElement*, const std::string&, const std::string&)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:535:40: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 535 | for ( l_pos = l_len - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static XMLCh* DocxFactory::XmlFunc::ucharToXMLCh(const UChar*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:799:21: warning: converting to non-pointer type ‘XMLCh’ {aka ‘char16_t’} from NULL [-Wconversion-null] 799 | l_xstr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static UChar* DocxFactory::XmlFunc::XMLChToUChar(const XMLCh*, size_t)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:815:21: warning: converting to non-pointer type ‘UChar’ {aka ‘char16_t’} from NULL [-Wconversion-null] 815 | l_ustr[l_pos] = NULL; | ^~~~ /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp: In static member function ‘static void DocxFactory::XmlFunc::unindentDocRecurr(const xercesc_3_3::DOMElement*)’: /build/deepin-log-viewer/src/deepin-log-viewer/3rdparty/DocxFactory/src/xml/XmlFunc.cpp:839:64: warning: comparison of integer expressions of different signedness: ‘XMLSize_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 839 | for ( l_pos = l_childNodeList ->getLength() - 1; l_pos != -1; --l_pos ) | ~~~~~~^~~~~ [989/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/parsethread/parsethreadkern.cpp.o [990/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/parsethread/parsethreadkwin.cpp.o [991/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/dbusproxy/dldbushandler.cpp.o [992/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/parsethread/parsethreadbase.cpp.o [993/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logoocfileparsethread.cpp.o [994/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logsegementexportthread.cpp.o [995/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/liblogviewerplugin/src/plugins/logviewerplugin.cpp.o [996/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/utils.cpp.o [997/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logapplicationparsethread.cpp.o [998/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logfileparser.cpp.o [999/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/ut_logviewerplugin/ut_logViewerPlugin.cpp.o [1000/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/deepin-log-viewer-plugin-test_autogen/mocs_compilation.cpp.o [1001/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logauththread.cpp.o [1002/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-plugin-test.dir/__/application/logexportthread.cpp.o [1003/1009] Linking CXX executable logViewerService/log-view-service [1004/1009] Linking CXX shared library liblogviewerplugin/liblogviewerplugin.so.0.1.0 [1005/1009] Creating library symlink liblogviewerplugin/liblogviewerplugin.so.0.1 liblogviewerplugin/liblogviewerplugin.so [1006/1009] Linking CXX executable application/deepin-log-viewer [1007/1009] Building CXX object tests/CMakeFiles/deepin-log-viewer-test.dir/src/ut_displaycontent.cpp.o In file included from /usr/include/gtest/gtest.h:72, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_displaycontent.h:7, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_displaycontent.cpp:5: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_displaycontent.cpp: In member function ‘virtual void DisplayContentlx_UT_FileParse_UT_Test::TestBody()’: /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_displaycontent.cpp:457:36: warning: ‘constexpr qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations] 457 | EXPECT_NE(p->m_iconPrefix.count(),0)<<"check the status after parseListToModel()"; | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt6/QtCore/qobject.h:12, from /usr/include/qt6/QtCore/QObject:1, from /build/deepin-log-viewer/src/deepin-log-viewer/tests/src/ut_displaycontent.h:9: /usr/include/qt6/QtCore/qstring.h:282:25: note: declared here 282 | constexpr qsizetype count() const { return size(); } | ^~~~~ [1008/1009] Linking CXX executable tests/deepin-log-viewer-plugin-test [1009/1009] Linking CXX executable tests/deepin-log-viewer-test ==>(B Starting check()...(B [==========] Running 902 tests from 248 test suites. [----------] Global test environment set-up. [----------] 1 test from wtmpparse_wtmp_open_UT [ RUN ] wtmpparse_wtmp_open_UT.wtmpparse_wtmp_open_UT org.deepin.log.viewer.main: Opening wtmp file: /var/log/wtmp [ OK ] wtmpparse_wtmp_open_UT.wtmpparse_wtmp_open_UT (0 ms) [----------] 1 test from wtmpparse_wtmp_open_UT (0 ms total) [----------] 7 tests from wtmpparse_wtmp_next_UT [ RUN ] wtmpparse_wtmp_next_UT.wtmp_open_back_UT org.deepin.log.viewer.main: Opening wtmp file for backward reading: test_test org.deepin.log.viewer.main: File position set to end: -1 [ OK ] wtmpparse_wtmp_next_UT.wtmp_open_back_UT (0 ms) [ RUN ] wtmpparse_wtmp_next_UT.seek_end_UT [ OK ] wtmpparse_wtmp_next_UT.seek_end_UT (0 ms) [ RUN ] wtmpparse_wtmp_next_UT.wtmp_reload_back_UT org.deepin.log.viewer.main: Reloading wtmp data backwards org.deepin.log.viewer.main: Read -1431655766 wtmp records backwards [ OK ] wtmpparse_wtmp_next_UT.wtmp_reload_back_UT (0 ms) [ RUN ] wtmpparse_wtmp_next_UT.wtmp_back_UT org.deepin.log.viewer.main: Getting previous wtmp record org.deepin.log.viewer.main: wtmp file descriptor is invalid [ OK ] wtmpparse_wtmp_next_UT.wtmp_back_UT (0 ms) [ RUN ] wtmpparse_wtmp_next_UT.show_end_time_UT [ OK ] wtmpparse_wtmp_next_UT.show_end_time_UT (0 ms) [ RUN ] wtmpparse_wtmp_next_UT.show_start_time_UT [ OK ] wtmpparse_wtmp_next_UT.show_start_time_UT (0 ms) [ RUN ] wtmpparse_wtmp_next_UT.wtmpparse_wtmp_next_UT_001 org.deepin.log.viewer.main: Getting next wtmp record org.deepin.log.viewer.main: wtmp file descriptor is invalid [ OK ] wtmpparse_wtmp_next_UT.wtmpparse_wtmp_next_UT_001 (0 ms) [----------] 7 tests from wtmpparse_wtmp_next_UT (0 ms total) [----------] 2 tests from wtmpparse_wtmp_close_UT [ RUN ] wtmpparse_wtmp_close_UT.wtmpparse_wtmp_close_UT_001 org.deepin.log.viewer.main: Opening wtmp file: /var/log/wtmp org.deepin.log.viewer.main: Closing wtmp file org.deepin.log.viewer.main: wtmp file closed successfully [ OK ] wtmpparse_wtmp_close_UT.wtmpparse_wtmp_close_UT_001 (0 ms) [ RUN ] wtmpparse_wtmp_close_UT.wtmpparse_wtmp_close_UT_002 org.deepin.log.viewer.main: Closing wtmp file org.deepin.log.viewer.main: wtmp file closed successfully [ OK ] wtmpparse_wtmp_close_UT.wtmpparse_wtmp_close_UT_002 (0 ms) [----------] 2 tests from wtmpparse_wtmp_close_UT (0 ms total) [----------] 1 test from wtmpparse_st_list_init_UT [ RUN ] wtmpparse_st_list_init_UT.wtmpparse_st_list_init_UT_001 org.deepin.log.viewer.main: Initializing utmp list [ OK ] wtmpparse_st_list_init_UT.wtmpparse_st_list_init_UT_001 (0 ms) [----------] 1 test from wtmpparse_st_list_init_UT (0 ms total) [----------] 1 test from wtmpparse_st_utmp_init_UT [ RUN ] wtmpparse_st_utmp_init_UT.wtmpparse_st_utmp_init_UT_001 org.deepin.log.viewer.main: Initializing utmp structure org.deepin.log.viewer.main: utmp structure initialized successfully [ OK ] wtmpparse_st_utmp_init_UT.wtmpparse_st_utmp_init_UT_001 (0 ms) [----------] 1 test from wtmpparse_st_utmp_init_UT (0 ms total) [----------] 1 test from wtmpparse_list_insert_UT [ RUN ] wtmpparse_list_insert_UT.wtmpparse_list_insert_UT_001 org.deepin.log.viewer.main: Inserting utmp entry into list org.deepin.log.viewer.main: List size after insert: 1 [ OK ] wtmpparse_list_insert_UT.wtmpparse_list_insert_UT_001 (0 ms) [----------] 1 test from wtmpparse_list_insert_UT (0 ms total) [----------] 1 test from wtmpparse_list_delete_UT [ RUN ] wtmpparse_list_delete_UT.wtmpparse_list_delete_UT org.deepin.log.viewer.main: Initializing utmp list org.deepin.log.viewer.main: Initializing utmp list org.deepin.log.viewer.main: Deleting utmp list org.deepin.log.viewer.main: Deleted 1 list items [ OK ] wtmpparse_list_delete_UT.wtmpparse_list_delete_UT (0 ms) [----------] 1 test from wtmpparse_list_delete_UT (0 ms total) [----------] 1 test from wtmpparse_list_get_ele_and_del_UT [ RUN ] wtmpparse_list_get_ele_and_del_UT.wtmpparse_list_get_ele_and_del_UT org.deepin.log.viewer.main: Getting and deleting element from list, searching for: test1 org.deepin.log.viewer.main: Found matching element at index: 0 info3.ut_line test1 [ OK ] wtmpparse_list_get_ele_and_del_UT.wtmpparse_list_get_ele_and_del_UT (0 ms) [----------] 1 test from wtmpparse_list_get_ele_and_del_UT (0 ms total) [----------] 1 test from wtmpparse_show_base_info_UT [ RUN ] wtmpparse_show_base_info_UT.wtmpparse_show_base_info_UT org.deepin.log.viewer.main: Showing base info for utmp entry: user: ? line: test host: ? type: 22784 ? test ? [ OK ] wtmpparse_show_base_info_UT.wtmpparse_show_base_info_UT (0 ms) [----------] 1 test from wtmpparse_show_base_info_UT (0 ms total) [----------] 1 test from Utils_Destructor_UT [ RUN ] Utils_Destructor_UT.Utils_Destructor_UT org.deepin.log.viewer.main: Utils constructor org.deepin.log.viewer.main: Utils destructor called [ OK ] Utils_Destructor_UT.Utils_Destructor_UT (0 ms) [----------] 1 test from Utils_Destructor_UT (0 ms total) [----------] 1 test from Utils_Constructor_UT [ RUN ] Utils_Constructor_UT.Utils_Constructor_UT org.deepin.log.viewer.main: Utils constructor [ OK ] Utils_Constructor_UT.Utils_Constructor_UT (0 ms) [----------] 1 test from Utils_Constructor_UT (0 ms total) [----------] 1 test from Utils_getQssContent_UT [ RUN ] Utils_getQssContent_UT.Utils_getQssContent_UT org.deepin.log.viewer.main: Loading QSS content from: "" QFSFileEngine::open: No file name specified org.deepin.log.viewer.main: Failed to open QSS file: "" "No file name specified" [ OK ] Utils_getQssContent_UT.Utils_getQssContent_UT (0 ms) [----------] 1 test from Utils_getQssContent_UT (0 ms total) [----------] 1 test from Utils_getConfigPath_UT [ RUN ] Utils_getConfigPath_UT.Utils_getConfigPath_UT org.deepin.log.viewer.main: Getting config path org.deepin.log.viewer.main: Config path: "/build/.config/deepin-log-viewer-test" [ OK ] Utils_getConfigPath_UT.Utils_getConfigPath_UT (0 ms) [----------] 1 test from Utils_getConfigPath_UT (0 ms total) [----------] 1 test from Utils_isFontMimeType_UT [ RUN ] Utils_isFontMimeType_UT.Utils_isFontMimeType_UT_001 org.deepin.log.viewer.main: Checking font MIME type for: "" QFSFileEngine::open: No file name specified org.deepin.log.viewer.main: MIME type: "application/octet-stream" isFont: false [ OK ] Utils_isFontMimeType_UT.Utils_isFontMimeType_UT_001 (2 ms) [----------] 1 test from Utils_isFontMimeType_UT (2 ms total) [----------] 1 test from Utils_suffixList_UT [ RUN ] Utils_suffixList_UT.Utils_suffixList_UT org.deepin.log.viewer.main: Getting suffix list [ OK ] Utils_suffixList_UT.Utils_suffixList_UT (0 ms) [----------] 1 test from Utils_suffixList_UT (0 ms total) [----------] 1 test from Utils_renderSVG_UT [ RUN ] Utils_renderSVG_UT.Utils_renderSVG_UT org.deepin.log.viewer.main: Rendering SVG: "" size: QSize(20, 20) QFSFileEngine::open: No file name specified org.deepin.log.viewer.main: Loading image directly org.deepin.log.viewer.main: Image cached and returned [ OK ] Utils_renderSVG_UT.Utils_renderSVG_UT (27 ms) [----------] 1 test from Utils_renderSVG_UT (27 ms total) [----------] 1 test from Utils_loadFontFamilyFromFiles_UT [ RUN ] Utils_loadFontFamilyFromFiles_UT.Utils_loadFontFamilyFromFiles_UT org.deepin.log.viewer.main: Loading font family from file: "" QFSFileEngine::open: No file name specified org.deepin.log.viewer.main: Failed to open font file: "" [ OK ] Utils_loadFontFamilyFromFiles_UT.Utils_loadFontFamilyFromFiles_UT (0 ms) [----------] 1 test from Utils_loadFontFamilyFromFiles_UT (0 ms total) [----------] 1 test from Utils_replaceEmptyByteArray_UT [ RUN ] Utils_replaceEmptyByteArray_UT.Utils_replaceEmptyByteArray_UT [ OK ] Utils_replaceEmptyByteArray_UT.Utils_replaceEmptyByteArray_UT (0 ms) [----------] 1 test from Utils_replaceEmptyByteArray_UT (0 ms total) [----------] 1 test from Utils_checkAndDeleteDir_UT [ RUN ] Utils_checkAndDeleteDir_UT.Utils_checkAndDeleteDir_UT org.deepin.log.viewer.main: Checking and deleting directory/file: "testdirstr__" org.deepin.log.viewer.main: Path is neither directory nor file: "testdirstr__" [ OK ] Utils_checkAndDeleteDir_UT.Utils_checkAndDeleteDir_UT (0 ms) [----------] 1 test from Utils_checkAndDeleteDir_UT (0 ms total) [----------] 1 test from Utils_deleteDir_UT [ RUN ] Utils_deleteDir_UT.Utils_deleteDir_UT org.deepin.log.viewer.main: Deleting directory: "testdirstr__" ���ǃ6��7 : QDir::rmdir: Empty or null file name *** stack smashing detected ***: terminated ==> ERROR:(B A failure occurred in check().(B  Aborting...(B ]3008;end=c0b7cb6688164e568631cd02b71bedce\[!p]104\[?7h]3008;end=b5c2cfc58833415f974c6b7dcedc56dc\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build(B [?12l[?25h[?12l[?25h]3008;end=150ca88441da4d238e5e31d7e700fb5f\[?12l[?25hreceiving incremental file list deepin-log-viewer-6.5.43-1-riscv64-build.log deepin-log-viewer-6.5.43-1-riscv64-check.log deepin-log-viewer-6.5.43-1-riscv64-prepare.log sent 81 bytes received 58,362 bytes 38,962.00 bytes/sec total size is 806,486 speedup is 13.80