Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib_xassert/api/xassert.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ static inline void timing_start_impl(const char *tag, unsigned max_ticks, const

static inline void timing_end_impl(const char *tag, const char *file, int line)
{
UNUSED(file);
UNUSED(line);

unsigned id = XASSERT_TAG_ID(tag);
unsigned now = get_time();

Expand Down
12 changes: 12 additions & 0 deletions lib_xassert/lib_build_info.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,16 @@ set(LIB_INCLUDES api)
set(LIB_DEPENDENT_MODULES "")
set(LIB_OPTIONAL_HEADERS debug_conf.h xassert_conf.h)

set(LIB_COMPILER_FLAGS -Wall
-Wextra
-Wunused
# -Wpadded
-Wshadow
-Wconversion
-Wdiv-by-zero
-Wfloat-equal
-Wsign-compare
)


XMOS_REGISTER_MODULE()