Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable -Wconversion in src/platform/Darwin. #25323

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Also fixes incorrect handling of the bssid from CWNetwork.

@bzbarsky-apple
Copy link
Contributor Author

This may need #25324 to merge before it will compile...

@github-actions
Copy link

PR #25323: Size comparison from 265d55c to 54bfc01

Increases (2 builds for cc32xx, nrfconnect)
platform target config section 265d55c 54bfc01 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20256906 20256908 2 0.0
nrfconnect all-clusters-app nrf7002dk_nrf5340_cpuapp text 767552 767556 4 0.0
Decreases (1 build for qpg)
platform target config section 265d55c 54bfc01 change % change
qpg lock-app qpg6105+debug (read/write) 1118540 1118532 -8 -0.0
.text 565640 565632 -8 -0.0
Full report (7 builds for cc32xx, mbed, nrfconnect, qpg)
platform target config section 265d55c 54bfc01 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642681 642681 0 0.0
(read/write) 203672 203672 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197072 197072 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930077 930077 0 0.0
.debug_aranges 87280 87280 0 0.0
.debug_frame 299816 299816 0 0.0
.debug_info 20256906 20256908 2 0.0
.debug_line 2656086 2656086 0 0.0
.debug_loc 2797535 2797535 0 0.0
.debug_ranges 281768 281768 0 0.0
.debug_str 3023369 3023369 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105769 105769 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377825 377825 0 0.0
.symtab 256256 256256 0 0.0
.text 534788 534788 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467168 2467168 0 0.0
.bss 215788 215788 0 0.0
.data 5880 5880 0 0.0
.text 1429812 1429812 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1167432 1167432 0 0.0
bss 143423 143423 0 0.0
rodata 136196 136196 0 0.0
text 807976 807976 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1112452 1112452 0 0.0
bss 142579 142579 0 0.0
rodata 113040 113040 0 0.0
text 777120 777120 0 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1372532 1372532 0 0.0
bss 105886 105886 0 0.0
rodata 213584 213584 0 0.0
text 767552 767556 4 0.0
qpg lighting-app qpg6105+debug (read/write) 1151340 1151340 0 0.0
.bss 99804 99804 0 0.0
.data 852 852 0 0.0
.text 598436 598436 0 0.0
lock-app qpg6105+debug (read/write) 1118540 1118532 -8 -0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565640 565632 -8 -0.0

@github-actions
Copy link

PR #25323: Size comparison from b89e83b to 4d3030d

Increases (1 build for cc32xx)
platform target config section b89e83b 4d3030d change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20256037 20256038 1 0.0
Decreases (1 build for qpg)
platform target config section b89e83b 4d3030d change % change
qpg lighting-app qpg6105+debug (read/write) 1151292 1151284 -8 -0.0
.text 598388 598380 -8 -0.0
Full report (3 builds for cc32xx, qpg)
platform target config section b89e83b 4d3030d change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642609 642609 0 0.0
(read/write) 203672 203672 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197072 197072 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930077 930077 0 0.0
.debug_aranges 87280 87280 0 0.0
.debug_frame 299816 299816 0 0.0
.debug_info 20256037 20256038 1 0.0
.debug_line 2655900 2655900 0 0.0
.debug_loc 2797195 2797195 0 0.0
.debug_ranges 281768 281768 0 0.0
.debug_str 3023188 3023188 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105761 105761 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377825 377825 0 0.0
.symtab 256224 256224 0 0.0
.text 534724 534724 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151292 1151284 -8 -0.0
.bss 99804 99804 0 0.0
.data 852 852 0 0.0
.text 598388 598380 -8 -0.0
lock-app qpg6105+debug (read/write) 1118500 1118500 0 0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565600 565600 0 0.0

@github-actions
Copy link

PR #25323: Size comparison from af511d7 to aa2988a

Increases (1 build for cc32xx)
platform target config section af511d7 aa2988a change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 642601 642673 72 0.0
.debug_info 20256131 20256163 32 0.0
.debug_line 2656120 2656122 2 0.0
.rodata 105761 105769 8 0.0
.text 534716 534780 64 0.0
Full report (1 build for cc32xx)
platform target config section af511d7 aa2988a change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642601 642673 72 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930126 930126 0 0.0
.debug_aranges 87280 87280 0 0.0
.debug_frame 299812 299812 0 0.0
.debug_info 20256131 20256163 32 0.0
.debug_line 2656120 2656122 2 0.0
.debug_loc 2797440 2797440 0 0.0
.debug_ranges 281768 281768 0 0.0
.debug_str 3023104 3023104 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105761 105769 8 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377825 377825 0 0.0
.symtab 256224 256224 0 0.0
.text 534716 534780 64 0.0

Also fixes incorrect handling of the bssid from CWNetwork.
@github-actions
Copy link

PR #25323: Size comparison from af511d7 to ded6ec0

Increases (4 builds for cc32xx, mbed, qpg)
platform target config section af511d7 ded6ec0 change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 642601 642673 72 0.0
.debug_info 20256131 20256164 33 0.0
.debug_line 2656120 2656122 2 0.0
.rodata 105761 105769 8 0.0
.text 534716 534780 64 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2467096 2467168 72 0.0
.text 1429740 1429812 72 0.0
qpg lighting-app qpg6105+debug (read/write) 1151252 1151308 56 0.0
.text 598348 598404 56 0.0
lock-app qpg6105+debug (read/write) 1118452 1118508 56 0.0
.text 565552 565608 56 0.0
Full report (4 builds for cc32xx, mbed, qpg)
platform target config section af511d7 ded6ec0 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642601 642673 72 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930126 930126 0 0.0
.debug_aranges 87280 87280 0 0.0
.debug_frame 299812 299812 0 0.0
.debug_info 20256131 20256164 33 0.0
.debug_line 2656120 2656122 2 0.0
.debug_loc 2797440 2797440 0 0.0
.debug_ranges 281768 281768 0 0.0
.debug_str 3023104 3023104 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105761 105769 8 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377825 377825 0 0.0
.symtab 256224 256224 0 0.0
.text 534716 534780 64 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467096 2467168 72 0.0
.bss 215804 215804 0 0.0
.data 5880 5880 0 0.0
.text 1429740 1429812 72 0.0
qpg lighting-app qpg6105+debug (read/write) 1151252 1151308 56 0.0
.bss 99804 99804 0 0.0
.data 852 852 0 0.0
.text 598348 598404 56 0.0
lock-app qpg6105+debug (read/write) 1118452 1118508 56 0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565552 565608 56 0.0

@bzbarsky-apple bzbarsky-apple merged commit 92d86d5 into project-chip:master Feb 28, 2023
@bzbarsky-apple bzbarsky-apple deleted the darwin-platform-Wconversion branch February 28, 2023 01:47
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
Also fixes incorrect handling of the bssid from CWNetwork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants