libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
This commit is contained in:
@@ -28,6 +28,7 @@ namespace ams::gpio {
|
||||
/* Actual commands. */
|
||||
Result OpenSessionForDev(ams::sf::Out<ams::sf::SharedPointer<gpio::sf::IPadSession>> out, s32 pad_descriptor) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(out, pad_descriptor);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -35,6 +36,7 @@ namespace ams::gpio {
|
||||
|
||||
Result OpenSessionForTest(ams::sf::Out<ams::sf::SharedPointer<gpio::sf::IPadSession>> out, gpio::GpioPadName pad_name) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(out, pad_name);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -44,16 +46,19 @@ namespace ams::gpio {
|
||||
|
||||
Result GetWakeEventActiveFlagSet(ams::sf::Out<gpio::WakeBitFlag> out) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result SetWakeEventActiveFlagSetForDebug(gpio::GpioPadName pad_name, bool is_enabled) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(pad_name, is_enabled);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result SetWakePinDebugMode(s32 mode) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(mode);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
@@ -65,11 +70,13 @@ namespace ams::gpio {
|
||||
|
||||
Result SetWakeEventActiveFlagSetForDebug2(DeviceCode device_code, bool is_enabled) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(device_code, is_enabled);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result SetRetryValues(u32 arg0, u32 arg1) {
|
||||
/* TODO: libnx bindings */
|
||||
AMS_UNUSED(arg0, arg1);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user