libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
1 parent e1fbf27 commit 7ca83c9d3b58030c5ee27d1d61b6a54c1a7b6c10
@Michael Scire Michael Scire authored on 7 Oct 2021
Showing 160 changed files
View
libraries/libstratosphere/Makefile
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/fs/fs_read_only_filesystem.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/fssystem/buffers/fssystem_buffer_manager_utils.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/fssystem/fssystem_allocator_utility.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/sf/hipc/sf_hipc_server_manager.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/sf/impl/sf_impl_command_serialization.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/sf/sf_allocation_policies.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/sf/sf_default_allocation_policy.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/sf/sf_object_impl_factory.hpp
Too large (Show diff)
View
libraries/libstratosphere/include/stratosphere/sf/sf_std_allocation_policy.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/capsrv/server/jpeg/capsrv_server_jpeg_error_handler.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/cfg/cfg_override.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/diag/diag_assertion_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_allocator.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_context_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_formatter.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_journal_for_attachments.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_journal_for_reports.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_reporter.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/common/fs_dbm_hierarchical_rom_file_table.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/common/fs_file_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_access_log.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_bis.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_code.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_context.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_memory_management.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_result_utils.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_romfs_filesystem.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fs_save_data_management.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fs/fsa/fs_file_accessor.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssrv/fssrv_file_system_proxy_api.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssrv/fssrv_filesystem_interface_adapter.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssrv/fssrv_memory_resource_from_exp_heap.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssrv/fssrv_memory_resource_from_standard_allocator.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/buffers/fssystem_file_system_buffer_manager.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_aes_ctr_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_aes_xts_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_alignment_matching_storage_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_allocator_utility.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_crypto_configuration.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_directory_savedata_filesystem.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_hierarchical_sha256_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_hierarchical_sha256_storage.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_indirect_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_key_slot_cache.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_nca_file_system_driver.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_nca_reader.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_partition_file_system.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_pooled_buffer.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_read_only_block_cache_storage.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_romfs_filesystem.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_thread_priority_changer.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/fssystem_utility.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/save/fssystem_block_cache_buffered_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/fssystem/save/fssystem_integrity_verification_storage.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_tegra_pad.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/gpio_remote_manager_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/gpio_remote_pad_session_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/server/gpio_server_manager_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/gpio/server/gpio_server_pad_session_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/driver/htc_htclow_driver.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/htc_htc_service_object.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/htc_power_state_control.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/rpc/htc_htcmisc_rpc_server.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/rpc/htc_htcmisc_rpc_tasks.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/rpc/htc_rpc_client.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/server/rpc/htc_rpc_tasks.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/htc/tenv/htc_tenv_service.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcfs/htcfs_client_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htclow/ctrl/htclow_ctrl_service.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htclow/ctrl/htclow_json.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htclow/ctrl/htclow_service_channel_parser.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htclow/driver/htclow_socket_discovery_manager.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htclow/driver/htclow_usb_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htclow/mux/htclow_mux.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/client/htcs_session.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/client/htcs_virtual_socket_collection.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/htcs_socket.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/htcs_manager_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/htcs_service.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_accept_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_bind_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_close_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_connect_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_fcntl_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_listen_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_receive_small_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_receive_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_select_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_send_small_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_send_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_shutdown_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/impl/rpc/htcs_rpc_socket_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/server/htcs_manager_service_object.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/server/htcs_manager_service_object_deprecated.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/htcs/server/htcs_socket_service_object_deprecated.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/i2c/driver/impl/i2c_i2c_session_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/i2c/i2c_client_api.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/i2c/server/i2c_server_manager_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lm/lm_remote_log_service.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lm/srv/lm_flush_thread.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lm/srv/lm_logger_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lmem/impl/lmem_impl_common_heap.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lmem/impl/lmem_impl_unit_heap.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lr/lr_api.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lr/lr_redirect_only_location_resolver_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/lr/lr_remote_location_resolver_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/lr/lr_remote_registered_location_resolver_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/mem/impl/heap/mem_impl_heap_central_heap.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/mem/impl/heap/mem_impl_heap_tls_heap_cache.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/mem/impl/heap/mem_impl_heap_tls_heap_central.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/mem/impl/heap/mem_impl_heap_tls_heap_central.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/mem/impl/mem_impl_platform.os.horizon.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_content_meta.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_content_storage_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_host_content_storage_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_on_memory_content_meta_database_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_package_install_task.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_package_install_task_base.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_read_only_content_storage_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_remote_content_manager_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_remote_content_meta_database_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/ncm/ncm_remote_content_storage_impl.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/impl/os_multiple_wait_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/impl/os_multiple_wait_target_impl.os.horizon.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/impl/os_process_handle_impl.os.horizon.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/impl/os_thread_manager_impl.os.horizon.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/impl/os_thread_manager_impl.os.horizon.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/os_memory_heap.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/os_mutex.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/os_thread.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/os/os_thread_local_storage_api.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/patcher/patcher_api.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/pgl/srv/pgl_srv_api.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/pgl/srv/pgl_srv_shell_host_utils.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/pgl/srv/pgl_srv_shell_interface.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/psc/psc_remote_pm_module.hpp
Too large (Show diff)
View
libraries/libstratosphere/source/pwm/server/pwm_server_manager_impl.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/scs/scs_command_processor.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/scs/scs_tenv.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/sf/cmif/sf_cmif_domain_service_object.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/sf/hipc/sf_hipc_server_session_manager.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/sf/sf_default_allocation_policy.cpp
Too large (Show diff)
View
libraries/libstratosphere/source/spl/spl_api.cpp
Too large (Show diff)
View
libraries/libvapours/include/vapours/util/util_optional.hpp
Too large (Show diff)
View
libraries/libvapours/source/crypto/impl/crypto_aes_impl.arch.arm64.cpp
Too large (Show diff)
View
libraries/libvapours/source/crypto/impl/crypto_sha1_impl.arch.arm64.cpp
Too large (Show diff)
View
libraries/libvapours/source/crypto/impl/crypto_sha256_impl.arch.arm64.cpp
Too large (Show diff)
View
libraries/libvapours/source/crypto/impl/crypto_update_impl.hpp
Too large (Show diff)
View
libraries/libvapours/source/sdmmc/impl/sdmmc_sd_host_standard_controller.cpp
Too large (Show diff)