mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 23:57:47 +00:00
turn on warnings and errors (#280)
This commit is contained in:
committed by
Jonathan Hui
parent
3b4bf8594e
commit
318fe4b415
@@ -74,20 +74,11 @@ void test_packed_union()
|
||||
VerifyOrQuit(sizeof(packed_t) == 5, "Toolchain::OT_TOOL_PACKED failed 3\n");
|
||||
}
|
||||
|
||||
int test_deprecated() OT_TOOL_DEPRECATED(test_deprecated);
|
||||
|
||||
int test_deprecated()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void TestToolchain(void)
|
||||
{
|
||||
test_packed1();
|
||||
test_packed2();
|
||||
test_packed_union();
|
||||
|
||||
SuccessOrQuit(test_deprecated(), "Toolchain::OT_TOOL_DEPRECATED failed\n");
|
||||
}
|
||||
|
||||
int main(void)
|
||||
|
||||
Reference in New Issue
Block a user