 |
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_TESTSUITE_INCLUDE_TEST_TOOLCHAIN_GCC_H_
8#define ZEPHYR_TESTSUITE_INCLUDE_TEST_TOOLCHAIN_GCC_H_
10#ifndef ZEPHYR_TESTSUITE_INCLUDE_TEST_TOOLCHAIN_H_
11#error "Please do not include test toolchain-specific headers directly, \
12use <zephyr/test_toolchain.h> instead"
15#define TOOLCHAIN_WARNING_DANGLING_POINTER "-Wdangling-pointer"
16#define TOOLCHAIN_WARNING_FORMAT_TRUNCATION "-Wformat-truncation"
17#define TOOLCHAIN_WARNING_INFINITE_RECURSION "-Winfinite-recursion"
18#define TOOLCHAIN_WARNING_OVERFLOW "-Woverflow"
19#define TOOLCHAIN_WARNING_PRAGMAS "-Wpragmas"
20#define TOOLCHAIN_WARNING_UNUSED_FUNCTION "-Wunused-function"
23#if defined(__GNUC__) && !defined(__clang__)
24#define TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN "-Walloc-size-larger-than="
25#define TOOLCHAIN_WARNING_STRINGOP_OVERFLOW "-Wstringop-overflow"
26#define TOOLCHAIN_WARNING_STRINGOP_TRUNCATION "-Wstringop-truncation"