libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
This commit is contained in:
@@ -29,6 +29,7 @@ namespace ams::gpio::server {
|
||||
|
||||
Result ManagerImpl::OpenSessionForDev(ams::sf::Out<ams::sf::SharedPointer<gpio::sf::IPadSession>> out, s32 pad_descriptor) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(out, pad_descriptor);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -38,26 +39,31 @@ namespace ams::gpio::server {
|
||||
|
||||
Result ManagerImpl::OpenSessionForTest(ams::sf::Out<ams::sf::SharedPointer<gpio::sf::IPadSession>> out, gpio::GpioPadName pad_name) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(out, pad_name);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ManagerImpl::IsWakeEventActive(ams::sf::Out<bool> out, gpio::GpioPadName pad_name) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(out, pad_name);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ManagerImpl::GetWakeEventActiveFlagSet(ams::sf::Out<gpio::WakeBitFlag> out) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ManagerImpl::SetWakeEventActiveFlagSetForDebug(gpio::GpioPadName pad_name, bool is_enabled) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(pad_name, is_enabled);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ManagerImpl::SetWakePinDebugMode(s32 mode) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(mode);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -75,16 +81,19 @@ namespace ams::gpio::server {
|
||||
|
||||
Result ManagerImpl::IsWakeEventActive2(ams::sf::Out<bool> out, DeviceCode device_code) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(out, device_code);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ManagerImpl::SetWakeEventActiveFlagSetForDebug2(DeviceCode device_code, bool is_enabled) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(device_code, is_enabled);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ManagerImpl::SetRetryValues(u32 arg0, u32 arg1) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(arg0, arg1);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(mode);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -80,6 +81,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -88,6 +90,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(enable);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -96,6 +99,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -104,6 +108,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -143,6 +148,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -159,6 +165,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(enable);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -167,6 +174,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -175,6 +183,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(ms);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -183,6 +192,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -191,6 +201,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(value);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -199,6 +210,7 @@ namespace ams::gpio::server {
|
||||
AMS_ASSERT(this->has_session);
|
||||
|
||||
/* TODO */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user