Skip to content
Commit c5244ffa authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

samples: logging/syst: build for C++ too



This extends the samples to build for C++ using the same code.
This shows MIPI Sys-T can work C++ too.

The change to main.c regarding to the struct log_msg_ids is
simply that the compiler errored out complaining the members
must be initialized the same order as the declaration.

Also C++ dislikes a string literal being assigned to char*,
so assign them to const char* instead.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent bd40865a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment