realtime_test compiling steps fail with "mbed tools not found"

Hi,
I can not get the realtime_test example to work following the steps here.
mbed new kws_realtime_test --create-only
produces the warning
[mbed] WARNING: Cannot find the mbed tools directory in...
The warning is repeated in the output of the command mbed deploy
Finally, mbed compile ... fails with
[mbed] ERROR: The mbed tools were not found in ...
[mbed] ERROR: Run mbed deploy to install dependencies and tools.
Is this a naming problem ? (mbed instead of mbed-os ?) or a new behavior of mbed-cli ?
Thanks

Hi navsuda,
I have no file "requirements.txt" in the mbed folder in my kws_realtime_test directory. If you are talking about this file, then I have all the requirements installed.
I have been able to make it work by creating the project directory without the --create-only option, and then not copying the mbed.lib file from the Example/realtime_test/mbed_libs folder.
Thanks for your help

@4p0pt0Z
In the quantization process, how to get the value of the quantization ranges -- act_max in quant_test.py .
how to set  the specific value of the parameter act_max ( x 0 0 0 0 0 0 0 0 0 0 0 ) ?

Hi,
I ran into the same problem as @4p0pt0Z (the mbed tools were not found) and tried to make it work by creating the directory without --create-only and by not copying the mbed.lib file.
Deploying worked, but now that I try to compile I get the error:
[Fatal Error] kws_f746ng.h@22,10: AUDIO_DISCO_F746NG.h: No such file or directory [ERROR] In file included from ../Examples/realtime_test/main.cpp:25: ../Source/KWS_F746NG/kws_f746ng.h:22:10: fatal error: AUDIO_DISCO_F746NG.h: No such file or directory
because deploying in that way did not create any AUDIO_DISCO_F746NG.h files.
Do you have any idea on how to solve this problem?
Thanks

I solved the problem by:

creating the kws_realtime_test folder as described here: https://github.com/ARM-software/ML-KWS-for-MCU/tree/master/Deployment
at this point I tried to deploy, but ran into "mbed tools not found error", so I added mbed-os to kws_realtime_test with mbed add mbed-os
removed the mbed folder from kws_realtime_test
deployed
at this point I tried to compile, but ran into the issue described here: https://github.com/ARM-software/ML-KWS-for-MCU/issues/94. So I checked out the older version of CMSIS_5, as stated in the page, and I was finally able to compile.

Hi.
I have the same problem and i've trie to solve like you. When i copy the .lib into my folder and then run mbed deploy it works fine but then give me an error on the following command. The following code is a part of the message:
  |     ^~~~~~~~~

./mbed-os/events/include/events/UserAllocatedEvent.h:310:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:317:5: error: 'constexpr' does not name a type
317 |     constexpr UserAllocatedEvent(const T *obj, R(T::*method)(ArgTs...) const, ArgTs... args) :
|     ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:317:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:324:5: error: 'constexpr' does not name a type
324 |     constexpr UserAllocatedEvent(EventQueue *q, const T *obj, R(T::*method)(ArgTs...) const, ArgTs... args) :
|     ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:324:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:331:5: error: 'constexpr' does not name a type
331 |     constexpr UserAllocatedEvent(volatile T *obj, R(T::*method)(ArgTs...) volatile, ArgTs... args) :
|     ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:331:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:338:5: error: 'constexpr' does not name a type
338 |     constexpr UserAllocatedEvent(EventQueue *q, volatile T *obj, R(T::*method)(ArgTs...) volatile, ArgTs... args) :
|     ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:338:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:345:5: error: 'constexpr' does not name a type
345 |     constexpr UserAllocatedEvent(const volatile T *obj, R(T::*method)(ArgTs...) const volatile, ArgTs... args) :
|     ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:345:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:352:5: error: 'constexpr' does not name a type
352 |     constexpr UserAllocatedEvent(EventQueue *q, const volatile T *obj, R(T::method)(ArgTs...) const volatile, ArgTs... args) :
|     ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:352:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h: In static member function 'static void events::UserAllocatedEvent<F, void(ArgTs ...)>::event_dtor(void)':
./mbed-os/events/include/events/UserAllocatedEvent.h:287:41: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
287 |         UserAllocatedEvent<F, void(ArgTs...)> *instance = (UserAllocatedEvent<F, void(ArgTs...)> *)(((equeue_event *)p) - 1);
|                                         ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:287:92: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
287 |         UserAllocatedEvent<F, void(ArgTs...)> *instance = (UserAllocatedEvent<F, void(ArgTs...)> *)(((equeue_event *)p) - 1);
|                                                                                ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h: At global scope:
./mbed-os/events/include/events/UserAllocatedEvent.h:358:31: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
358 | template <typename F, typename... ArgTs>
|                               ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:359:33: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
359 | UserAllocatedEvent<F, void(ArgTs...)> EventQueue::make_user_allocated_event(F f, ArgTs... args)
|                                 ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:359:91: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
359 | UserAllocatedEvent<F, void(ArgTs...)> EventQueue::make_user_allocated_event(F f, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h: In member function 'events::UserAllocatedEvent<F, void(ArgTs ...)> events::EventQueue::make_user_allocated_event(F, ArgTs ...)':
./mbed-os/events/include/events/UserAllocatedEvent.h:361:44: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
361 |     return UserAllocatedEvent<F, void(ArgTs...)>(this, f, args...);
|                                            ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h: At global scope:
./mbed-os/events/include/events/UserAllocatedEvent.h:364:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
364 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:365:45: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
365 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(T *obj, R(T::*method)(ArgTs... args), ArgTs... args)
|                                             ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:365:62: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
365 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(T *obj, R(T::*method)(ArgTs... args), ArgTs... args)
|                                                              ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:365:137: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
365 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(T *obj, R(T::*method)(ArgTs... args), ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:365:153: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
365 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(T obj, R(T::method)(ArgTs... args), ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h: In member function 'events::UserAllocatedEvent<mbed::Callback<void(ArgTs ...)>, void(ArgTs ...)> events::EventQueue::make_user_allocated_event(T, R (T::)(ArgTs ...), ArgTs ...)':
./mbed-os/events/include/events/UserAllocatedEvent.h:367:56: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
367 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                        ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:367:73: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
367 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                                         ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h: At global scope:
./mbed-os/events/include/events/UserAllocatedEvent.h:370:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
370 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:371:45: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
371 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const T *obj, R(T::*method)(ArgTs... args) const, ArgTs... args)
|                                             ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:371:62: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
371 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const T *obj, R(T::*method)(ArgTs... args) const, ArgTs... args)
|                                                              ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:371:143: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
371 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const T *obj, R(T::*method)(ArgTs... args) const, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:371:165: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
371 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const T obj, R(T::method)(ArgTs... args) const, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h: In member function 'events::UserAllocatedEvent<mbed::Callback<void(ArgTs ...)>, void(ArgTs ...)> events::EventQueue::make_user_allocated_event(const T, R (T::)(ArgTs ...) const, ArgTs ...)':
./mbed-os/events/include/events/UserAllocatedEvent.h:373:56: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
373 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                        ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:373:73: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
373 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                                         ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h: At global scope:
./mbed-os/events/include/events/UserAllocatedEvent.h:376:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
376 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:377:45: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
377 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(volatile T *obj, R(T::*method)(ArgTs... args) volatile, ArgTs... args)
|                                             ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:377:62: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
377 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(volatile T *obj, R(T::*method)(ArgTs... args) volatile, ArgTs... args)
|                                                              ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:377:146: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
377 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(volatile T *obj, R(T::*method)(ArgTs... args) volatile, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:377:171: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
377 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(volatile T obj, R(T::method)(ArgTs... args) volatile, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h: In member function 'events::UserAllocatedEvent<mbed::Callback<void(ArgTs ...)>, void(ArgTs ...)> events::EventQueue::make_user_allocated_event(volatile T, R (T::)(ArgTs ...) volatile, ArgTs ...)':
./mbed-os/events/include/events/UserAllocatedEvent.h:379:56: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
379 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                        ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:379:73: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
379 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                                         ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h: At global scope:
./mbed-os/events/include/events/UserAllocatedEvent.h:382:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
382 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:383:45: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
383 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const volatile T *obj, R(T::*method)(ArgTs... args) const volatile, ArgTs... args)
|                                             ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:383:62: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
383 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const volatile T *obj, R(T::*method)(ArgTs... args) const volatile, ArgTs... args)
|                                                              ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:383:152: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
383 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const volatile T *obj, R(T::*method)(ArgTs... args) const volatile, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:383:183: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
383 | UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> EventQueue::make_user_allocated_event(const volatile T obj, R(T::method)(ArgTs... args) const volatile, ArgTs... args)
|                                                                                ^~~~
./mbed-os/events/include/events/UserAllocatedEvent.h: In member function 'events::UserAllocatedEvent<mbed::Callback<void(ArgTs ...)>, void(ArgTs ...)> events::EventQueue::make_user_allocated_event(const volatile T, R (T::)(ArgTs ...) const volatile, ArgTs ...)':
./mbed-os/events/include/events/UserAllocatedEvent.h:385:56: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
385 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                        ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:385:73: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
385 |     return UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)>(this, mbed::callback(obj, method), args...);
|                                                                         ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h: At global scope:
./mbed-os/events/include/events/UserAllocatedEvent.h:398:31: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
398 | template <typename F, typename... ArgTs>
|                               ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:399:1: error: 'constexpr' does not name a type
399 | constexpr UserAllocatedEvent<F, void(ArgTs...)> make_user_allocated_event(F f, ArgTs... args)
| ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:399:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:413:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
413 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:414:1: error: 'constexpr' does not name a type
414 | constexpr UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> make_user_allocated_event(T *obj, R(T::*method)(ArgTs... args), ArgTs... args)
| ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:414:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:428:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
428 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:429:1: error: 'constexpr' does not name a type
429 | constexpr UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> make_user_allocated_event(const T *obj, R(T::*method)(ArgTs... args) const, ArgTs... args)
| ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:429:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:443:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
443 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:444:1: error: 'constexpr' does not name a type
444 | constexpr UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> make_user_allocated_event(volatile T *obj, R(T::*method)(ArgTs... args) volatile, ArgTs... args)
| ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:444:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/events/include/events/UserAllocatedEvent.h:458:43: warning: variadic templates only available with '-std=c++11' or '-std=gnu++11'
458 | template <typename T, typename R, typename... ArgTs>
|                                           ^~~
./mbed-os/events/include/events/UserAllocatedEvent.h:459:1: error: 'constexpr' does not name a type
459 | constexpr UserAllocatedEvent<mbed::Callback<void(ArgTs...)>, void(ArgTs...)> make_user_allocated_event(const volatile T *obj, R(T::method)(ArgTs... args) const volatile, ArgTs... args)
| ^~~~~~~~~
./mbed-os/events/include/events/UserAllocatedEvent.h:459:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
In file included from ./mbed-os/storage/filesystem/include/filesystem/mbed_filesystem.h:28,
from ./mbed-os/mbed.h:36,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/storage/filesystem/include/filesystem/File.h:54:13: error: looser throw specifier for 'virtual mbed::File::~File()'
54 |     virtual ~File();
|             ^
In file included from ./mbed-os/connectivity/netsocket/include/netsocket/nsapi_ppp.h:22,
from ./mbed-os/mbed.h:28,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/FileHandle.h:48:13: note: overridden function is 'virtual mbed::FileHandle::~FileHandle() throw ()'
48 |     virtual ~FileHandle() = default;
|             ^
In file included from ./mbed-os/drivers/include/drivers/DigitalIn.h:22,
from ./mbed-os/mbed.h:54,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/interfaces/InterfaceDigitalIn.h:50:7: error: expected nested-name-specifier before 'DigitalIn'
50 | using DigitalIn = ::mbed::DigitalIn;
|       ^~~~~~~~~
In file included from ./mbed-os/drivers/include/drivers/DigitalOut.h:22,
from ./mbed-os/mbed.h:55,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/interfaces/InterfaceDigitalOut.h:64:7: error: expected nested-name-specifier before 'DigitalOut'
64 | using DigitalOut = ::mbed::DigitalOut;
|       ^~~~~~~~~~
In file included from ./mbed-os/drivers/include/drivers/DigitalInOut.h:22,
from ./mbed-os/mbed.h:56,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/interfaces/InterfaceDigitalInOut.h:67:7: error: expected nested-name-specifier before 'DigitalInOut'
67 | using DigitalInOut = ::mbed::DigitalInOut;
|       ^~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:63,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/AnalogIn.h:80:27: error: expected ',' or '...' before '&&' token
80 |     AnalogIn(const PinMap &&, float vref = MBED_CONF_TARGET_DEFAULT_ADC_VREF) = delete; // prevent passing of temporary objects
|                           ^~
./mbed-os/drivers/include/drivers/AnalogIn.h:80:81: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
80 |     AnalogIn(const PinMap &&, float vref = MBED_CONF_TARGET_DEFAULT_ADC_VREF) = delete; // prevent passing of temporary objects
|                                                                                ^~~~~~
In file included from ./mbed-os/mbed.h:64,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/AnalogOut.h:73:28: error: expected ',' or '...' before '&&' token
73 |     AnalogOut(const PinMap &&) = delete; // prevent passing of temporary objects
|                            ^~
./mbed-os/drivers/include/drivers/AnalogOut.h:73:34: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
73 |     AnalogOut(const PinMap &&) = delete; // prevent passing of temporary objects
|                                  ^~~~~~
In file included from ./mbed-os/mbed.h:65,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/PwmOut.h:69:25: error: expected ',' or '...' before '&&' token
69 |     PwmOut(const PinMap &&) = delete; // prevent passing of temporary objects
|                         ^~
./mbed-os/drivers/include/drivers/PwmOut.h:69:31: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
69 |     PwmOut(const PinMap &&) = delete; // prevent passing of temporary objects
|                               ^~~~~~
In file included from ./mbed-os/platform/include/platform/CircularBuffer.h:23,
from ./mbed-os/drivers/include/drivers/SPI.h:42,
from ./mbed-os/mbed.h:66,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/Span.h:252:19: error: 'Extent' is not a type
252 |     static_assert(Extent >= 0, "Invalid extent for a Span");
|                   ^~~~~~
./mbed-os/platform/include/platform/Span.h:252:26: error: expected ',' or '...' before '>=' token
252 |     static_assert(Extent >= 0, "Invalid extent for a Span");
|                          ^~
./mbed-os/platform/include/platform/Span.h:252:59: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive]
252 |     static_assert(Extent >= 0, "Invalid extent for a Span");
|                                                           ^
In file included from ./mbed-os/drivers/include/drivers/SPI.h:42,
from ./mbed-os/mbed.h:66,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/CircularBuffer.h: In constructor 'mbed::CircularBuffer<T, BufferSize, CounterType>::CircularBuffer()':
./mbed-os/platform/include/platform/CircularBuffer.h:78:9: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]
78 |         static_assert(
|         ^~~~~~~~~~~~~
In file included from ./mbed-os/drivers/include/drivers/SPI.h:44,
from ./mbed-os/mbed.h:66,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/Transaction.h: At global scope:
./mbed-os/platform/include/platform/Transaction.h:39:5: error: 'event_callback_t' does not name a type
39 |     event_callback_t callback; /< User's callback */
|     ^~~~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:66,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/SPI.h:146:28: error: expected ',' or '...' before '&&' token
146 |     SPI(const spi_pinmap_t &&) = delete; // prevent passing of temporary objects
|                            ^~
./mbed-os/drivers/include/drivers/SPI.h:146:34: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
146 |     SPI(const spi_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                  ^~~~~~
./mbed-os/drivers/include/drivers/SPI.h:161:28: error: expected ',' or '...' before '&&' token
161 |     SPI(const spi_pinmap_t &&, PinName) = delete; // prevent passing of temporary objects
|                            ^~
./mbed-os/drivers/include/drivers/SPI.h:161:43: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
161 |     SPI(const spi_pinmap_t &&, PinName) = delete; // prevent passing of temporary objects
|                                           ^~~~~~
./mbed-os/drivers/include/drivers/SPI.h:161:5: error: 'mbed::SPI::SPI(spi_pinmap_t)' cannot be overloaded with 'mbed::SPI::SPI(spi_pinmap_t)'
161 |     SPI(const spi_pinmap_t &&, PinName) = delete; // prevent passing of temporary objects
|     ^~~
./mbed-os/drivers/include/drivers/SPI.h:146:5: note: previous declaration 'mbed::SPI::SPI(spi_pinmap_t)'
146 |     SPI(const spi_pinmap_t &&) = delete; // prevent passing of temporary objects
|     ^~~
./mbed-os/drivers/include/drivers/SPI.h:259:94: error: 'event_callback_t' does not name a type
259 |     int transfer(const Type *tx_buffer, int tx_length, Type *rx_buffer, int rx_length, const event_callback_t &callback, int event = SPI_EVENT_COMPLETE)
|                                                                                ^~~~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:66,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/SPI.h:313:119: error: 'event_callback_t' does not name a type
313 |     int transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char bit_width, const event_callback_t &callback, int event);
|                                                                                ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SPI.h:331:125: error: 'event_callback_t' does not name a type
331 |     int queue_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char bit_width, const event_callback_t &callback, int event);
|                                                                                ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SPI.h:345:126: error: 'event_callback_t' does not name a type
345 |     void start_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char bit_width, const event_callback_t &callback, int event);
|                                                                                ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SPI.h:388:33: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
388 |         SPIName name = SPIName(0);
|                                 ^
./mbed-os/drivers/include/drivers/SPI.h:390:19: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
390 |         spi_t spi{};
|                   ^
./mbed-os/drivers/include/drivers/SPI.h:394:22: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
394 |         SPI *owner = nullptr;
|                      ^~~~~~~
./mbed-os/drivers/include/drivers/SPI.h:414:5: error: 'event_callback_t' does not name a type
414 |     event_callback_t _callback;
|     ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SPI.h:390:18: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
390 |         spi_t spi{};
|                  ^
./mbed-os/drivers/include/drivers/SPI.h:390:19: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
390 |         spi_t spi{};
|                   ^
./mbed-os/drivers/include/drivers/SPI.h:394:22: error: 'nullptr' was not declared in this scope
394 |         SPI *owner = nullptr;
|                      ^~~~~~~
In file included from ./mbed-os/mbed.h:67,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/SPISlave.h:81:33: error: expected ',' or '...' before '&&' token
81 |     SPISlave(const spi_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                 ^~
./mbed-os/drivers/include/drivers/SPISlave.h:81:39: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
81 |     SPISlave(const spi_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                       ^~~~~~
In file included from ./mbed-os/mbed.h:68,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/I2C.h:109:28: error: expected ',' or '...' before '&&' token
109 |     I2C(const i2c_pinmap_t &&) = delete; // prevent passing of temporary objects
|                            ^~
./mbed-os/drivers/include/drivers/I2C.h:109:34: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
109 |     I2C(const i2c_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                  ^~~~~~
./mbed-os/drivers/include/drivers/I2C.h:210:107: error: 'event_callback_t' does not name a type
210 |     int transfer(int address, const char *tx_buffer, int tx_length, char *rx_buffer, int rx_length, const event_callback_t &callback, int event = I2C_EVENT_TRANSFER_COMPLETE, bool repeated = false);
|                                                                                ^~~~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:68,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/I2C.h:225:5: error: 'event_callback_t' does not name a type
225 |     event_callback_t _callback;
|     ^~~~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:69,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/I2CSlave.h:150:33: error: expected ',' or '...' before '&&' token
150 |     I2CSlave(const i2c_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                 ^~
./mbed-os/drivers/include/drivers/I2CSlave.h:150:39: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
150 |     I2CSlave(const i2c_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                       ^~~~~~
In file included from ./mbed-os/drivers/include/drivers/CAN.h:24,
from ./mbed-os/mbed.h:70,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/interfaces/InterfaceCAN.h:175:13: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
175 |     can() = default;
|             ^~~~~~~
./mbed-os/drivers/include/drivers/interfaces/InterfaceCAN.h:176:14: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
176 |     ~can() = default;
|              ^~~~~~~
./mbed-os/drivers/include/drivers/interfaces/InterfaceCAN.h:181:24: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
181 |     can(const can &) = delete;
|                        ^~~~~~
./mbed-os/drivers/include/drivers/interfaces/InterfaceCAN.h:182:35: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
182 |     can &operator=(const can &) = delete;
|                                   ^~~~~~
./mbed-os/drivers/include/drivers/interfaces/InterfaceCAN.h:205:7: error: expected nested-name-specifier before 'CAN'
205 | using CAN = ::mbed::CAN;
|       ^~~
In file included from ./mbed-os/mbed.h:70,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/CAN.h:107:28: error: expected ',' or '...' before '&&' token
107 |     CAN(const can_pinmap_t &&) = delete; // prevent passing of temporary objects
|                            ^~
./mbed-os/drivers/include/drivers/CAN.h:107:34: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
107 |     CAN(const can_pinmap_t &&) = delete; // prevent passing of temporary objects
|                                  ^~~~~~
./mbed-os/drivers/include/drivers/CAN.h:116:28: error: expected ',' or '...' before '&&' token
116 |     CAN(const can_pinmap_t &&, int) = delete; // prevent passing of temporary objects
|                            ^~
./mbed-os/drivers/include/drivers/CAN.h:116:39: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
116 |     CAN(const can_pinmap_t &&, int) = delete; // prevent passing of temporary objects
|                                       ^~~~~~
./mbed-os/drivers/include/drivers/CAN.h:116:5: error: 'mbed::CAN::CAN(can_pinmap_t)' cannot be overloaded with 'mbed::CAN::CAN(can_pinmap_t)'
116 |     CAN(const can_pinmap_t &&, int) = delete; // prevent passing of temporary objects
|     ^~~
./mbed-os/drivers/include/drivers/CAN.h:107:5: note: previous declaration 'mbed::CAN::CAN(can_pinmap_t)'
107 |     CAN(const can_pinmap_t &&) = delete; // prevent passing of temporary objects
|     ^~~
In file included from ./mbed-os/mbed.h:70,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/CAN.h:216:30: error: 'IrqType' is not a class or namespace
216 |     Callback<void()>    _irq[IrqType::IrqCnt];
|                              ^~~~~~~
./mbed-os/drivers/include/drivers/CAN.h:206:55: error: 'IrqType' is not a class or namespace
206 |     void attach(Callback<void()> func, IrqType type = IrqType::RxIrq);
|                                                       ^~~~~~~
In file included from ./mbed-os/mbed.h:71,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/RawCAN.h:82:16: warning: inheriting constructors only available with '-std=c++11' or '-std=gnu++11'
82 |     using CAN::CAN;
|                ^~~
./mbed-os/drivers/include/drivers/RawCAN.h:86:15: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
86 |     void lock() override {};
|               ^
./mbed-os/drivers/include/drivers/RawCAN.h:87:17: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
87 |     void unlock() override {};
|                 ^
In file included from ./mbed-os/drivers/include/drivers/UnbufferedSerial.h:26,
from ./mbed-os/mbed.h:72,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/SerialBase.h:195:56: error: 'event_callback_t' does not name a type
195 |     int write(const uint8_t *buffer, int length, const event_callback_t &callback, int event = SERIAL_EVENT_TX_COMPLETE);
|                                                        ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:212:57: error: 'event_callback_t' does not name a type
212 |     int write(const uint16_t *buffer, int length, const event_callback_t &callback, int event = SERIAL_EVENT_TX_COMPLETE);
|                                                         ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:236:49: error: 'event_callback_t' does not name a type
236 |     int read(uint8_t *buffer, int length, const event_callback_t &callback, int event = SERIAL_EVENT_RX_COMPLETE, unsigned char char_match = SERIAL_RESERVED_CHAR_MATCH);
|                                                 ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:254:50: error: 'event_callback_t' does not name a type
254 |     int read(uint16_t *buffer, int length, const event_callback_t &callback, int event = SERIAL_EVENT_RX_COMPLETE, unsigned char char_match = SERIAL_RESERVED_CHAR_MATCH);
|                                                  ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:278:77: error: 'event_callback_t' does not name a type
278 |     void start_read(void *buffer, int buffer_size, char buffer_width, const event_callback_t &callback, int event, unsigned char char_match);
|                                                                             ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:279:84: error: 'event_callback_t' does not name a type
279 |     void start_write(const void *buffer, int buffer_size, char buffer_width, const event_callback_t &callback, int event);
|                                                                                ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:307:26: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
307 |     DMAUsage _tx_usage = DMA_USAGE_NEVER;
|                          ^~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:308:26: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
308 |     DMAUsage _rx_usage = DMA_USAGE_NEVER;
|                          ^~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:309:5: error: 'event_callback_t' does not name a type
309 |     event_callback_t _tx_callback;
|     ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:310:5: error: 'event_callback_t' does not name a type
310 |     event_callback_t _rx_callback;
|     ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:315:36: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
315 |     serial_t              _serial {};
|                                    ^
./mbed-os/drivers/include/drivers/SerialBase.h:326:49: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
326 |     Flow                           _flow_type = Disabled;
|                                                 ^~~~~~~~
./mbed-os/drivers/include/drivers/SerialBase.h:327:45: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
327 |     PinName                        _flow1 = NC;
|                                             ^~
./mbed-os/drivers/include/drivers/SerialBase.h:328:45: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
328 |     PinName                        _flow2 = NC;
|                                             ^~
./mbed-os/drivers/include/drivers/SerialBase.h:315:35: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
315 |     serial_t              serial {};
|                                   ^
./mbed-os/drivers/include/drivers/SerialBase.h:315:36: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
315 |     serial_t              serial {};
|                                    ^
In file included from ./mbed-os/mbed.h:72,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:88:50: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
88 |     ssize_t write(const void buffer, size_t size) override;
|                                                  ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:98:43: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
98 |     ssize_t read(void buffer, size_t size) override;
|                                           ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:112:51: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
112 |     off_t seek(off_t offset, int whence = SEEK_SET) override
|                                                   ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:121:16: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
121 |     off_t size() override
|                ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:132:16: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
132 |     int isatty() override
|                ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:141:15: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
141 |     int close() override
|               ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:159:34: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
159 |     int enable_input(bool enabled) override;
|                                  ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:174:35: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
174 |     int enable_output(bool enabled) override;
|                                   ^
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:185:30: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
185 |     short poll(short events) const override;
|                              ^~~~~
./mbed-os/drivers/include/drivers/UnbufferedSerial.h:47:7: error: looser throw specifier for 'virtual mbed::UnbufferedSerial::~UnbufferedSerial()'
47 | class UnbufferedSerial:
|       ^~~~~~~~~~~~~~~~
In file included from ./mbed-os/connectivity/netsocket/include/netsocket/nsapi_ppp.h:22,
from ./mbed-os/mbed.h:28,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/FileHandle.h:48:13: note: overridden function is 'virtual mbed::FileHandle::~FileHandle() throw ()'
48 |     virtual ~FileHandle() = default;
|             ^
In file included from ./mbed-os/mbed.h:73,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/BufferedSerial.h:83:21: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
83 |     ~BufferedSerial() override;
|                     ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:90:30: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
90 |     short poll(short events) const final;
|                              ^~~~~
./mbed-os/drivers/include/drivers/BufferedSerial.h:110:52: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
110 |     ssize_t write(const void buffer, size_t length) override;
|                                                    ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:126:45: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
126 |     ssize_t read(void buffer, size_t length) override;
|                                             ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:132:15: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
132 |     int close() override;
|               ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:140:16: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
140 |     int isatty() override;
|                ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:155:40: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
155 |     off_t seek(off_t offset, int whence) override;
|                                        ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:161:14: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
161 |     int sync() override;
|              ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:168:35: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
168 |     int set_blocking(bool blocking) override
|                                   ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:178:24: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
178 |     bool is_blocking() const override
|                        ^~~~~
./mbed-os/drivers/include/drivers/BufferedSerial.h:196:34: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
196 |     int enable_input(bool enabled) override;
|                                  ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:211:35: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
211 |     int enable_output(bool enabled) override;
|                                   ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:230:37: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
230 |     void sigio(Callback<void()> func) override;
|                                     ^
./mbed-os/drivers/include/drivers/BufferedSerial.h:338:29: warning: non-static data member initializers only available with '-std=c++11' or '-std=gnu++11'
338 |     InterruptIn _dcd_irq = nullptr;
|                             ^~~~~~~
./mbed-os/drivers/include/drivers/BufferedSerial.h:83:5: error: looser throw specifier for 'virtual mbed::BufferedSerial::~BufferedSerial()'
83 |     ~BufferedSerial() override;
|     ^
In file included from ./mbed-os/connectivity/netsocket/include/netsocket/nsapi_ppp.h:22,
from ./mbed-os/mbed.h:28,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/FileHandle.h:48:13: note: overridden function is 'virtual mbed::FileHandle::~FileHandle() throw ()'
48 |     virtual ~FileHandle() = default;
|             ^
In file included from ./mbed-os/mbed.h:73,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/BufferedSerial.h:338:29: error: 'nullptr' was not declared in this scope
338 |     InterruptIn _dcd_irq = nullptr;
|                             ^~~~~~~
In file included from ./mbed-os/mbed.h:74,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/FlashIAP.h:68:5: error: 'constexpr' does not name a type
68 |     constexpr FlashIAP() : _flash(), _page_buf(nullptr)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/FlashIAP.h:68:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
In file included from ./mbed-os/mbed.h:75,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/MbedCRC.h:46:1: warning: scoped enums only available with '-std=c++11' or '-std=gnu++11'
46 | enum class CrcMode {
| ^~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:57:1: error: 'constexpr' does not name a type
57 | constexpr bool have_crc_table(uint32_t polynomial, uint8_t width)
| ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:57:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:70:1: error: 'constexpr' does not name a type
70 | constexpr CrcMode choose_crc_mode(uint32_t polynomial, uint8_t width, CrcMode mode_limit)
| ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:70:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:147:91: error: 'CrcMode' is not a class or namespace
147 | template <uint32_t polynomial = POLY_32BIT_ANSI, uint8_t width = 32, CrcMode mode_limit = CrcMode::HARDWARE>
|                                                                                ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:149:44: error: 'choose_crc_mode' is not a member of 'mbed::impl'
149 |     impl::MbedCRC<polynomial, width, impl::choose_crc_mode(polynomial, width, mode_limit)> crc_impl;
|                                            ^~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:149:44: error: 'choose_crc_mode' is not a member of 'mbed::impl'
./mbed-os/drivers/include/drivers/MbedCRC.h:149:89: error: a function call cannot appear in a constant-expression
149 |     impl::MbedCRC<polynomial, width, impl::choose_crc_mode(polynomial, width, mode_limit)> crc_impl;
|                                                                                ^
./mbed-os/drivers/include/drivers/MbedCRC.h:149:90: error: template argument 3 is invalid
149 |     impl::MbedCRC<polynomial, width, impl::choose_crc_mode(polynomial, width, mode_limit)> crc_impl;
|                                                                                ^
./mbed-os/drivers/include/drivers/MbedCRC.h:155:23: error: expected primary-expression before 'int'
155 |         HARDWARE    = int(::mbed::CrcMode::HARDWARE),
|                       ^~~
./mbed-os/drivers/include/drivers/MbedCRC.h:155:23: error: expected '}' before 'int'
./mbed-os/drivers/include/drivers/MbedCRC.h:153:18: note: to match this '{'
153 |     enum CrcMode {
|                  ^
./mbed-os/drivers/include/drivers/MbedCRC.h:155:35: error: 'mbed::CrcMode' is not a class or namespace
155 |         HARDWARE    = int(::mbed::CrcMode::HARDWARE),
|                                   ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:155:52: error: two or more data types in declaration of 'HARDWARE'
155 |         HARDWARE    = int(::mbed::CrcMode::HARDWARE),
|                                                    ^
./mbed-os/drivers/include/drivers/MbedCRC.h:157:49: error: two or more data types in declaration of 'TABLE'
157 |         TABLE       = int(::mbed::CrcMode::TABLE),
|                                                 ^
./mbed-os/drivers/include/drivers/MbedCRC.h:158:51: error: two or more data types in declaration of 'BITWISE'
158 |         BITWISE     = int(::mbed::CrcMode::BITWISE)
|                                                   ^
./mbed-os/drivers/include/drivers/MbedCRC.h:158:51: error: expected ';' at end of member declaration
158 |         BITWISE     = int(::mbed::CrcMode::BITWISE)
|                                                   ^
|                                                    ;
./mbed-os/drivers/include/drivers/MbedCRC.h:178:5: error: 'constexpr' does not name a type
178 |     constexpr
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:178:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:187:30: error: 'polynomial' was not declared in this scope; did you mean 'crc_polynomial'?
187 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_32BIT_ANSI && width == 32, int> = 0>
|                              ^~~~~~~~~~
|                              crc_polynomial
./mbed-os/drivers/include/drivers/MbedCRC.h:187:47: error: 'std::enable_if_t' has not been declared
187 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_32BIT_ANSI && width == 32, int> = 0>
|                                               ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:187:58: error: expected '>' before '<' token
187 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_32BIT_ANSI && width == 32, int> = 0>
|                                                          ^
./mbed-os/drivers/include/drivers/MbedCRC.h:188:5: error: 'constexpr' does not name a type
188 |     constexpr MbedCRC() : MbedCRC(0xFFFFFFFF, 0xFFFFFFFF, true, true)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:188:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:192:30: error: 'polynomial' was not declared in this scope; did you mean 'crc_polynomial'?
192 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_16BIT_IBM && width == 16, int> = 0>
|                              ^~~~~~~~~~
|                              crc_polynomial
./mbed-os/drivers/include/drivers/MbedCRC.h:192:47: error: 'std::enable_if_t' has not been declared
192 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_16BIT_IBM && width == 16, int> = 0>
|                                               ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:192:58: error: expected '>' before '<' token
192 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_16BIT_IBM && width == 16, int> = 0>
|                                                          ^
./mbed-os/drivers/include/drivers/MbedCRC.h:193:5: error: 'constexpr' does not name a type
193 |     constexpr MbedCRC() : MbedCRC(0, 0, true, true)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:193:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:197:30: error: 'polynomial' was not declared in this scope; did you mean 'crc_polynomial'?
197 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_16BIT_CCITT && width == 16, int> = 0>
|                              ^~~~~~~~~~
|                              crc_polynomial
./mbed-os/drivers/include/drivers/MbedCRC.h:197:47: error: 'std::enable_if_t' has not been declared
197 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_16BIT_CCITT && width == 16, int> = 0>
|                                               ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:197:58: error: expected '>' before '<' token
197 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_16BIT_CCITT && width == 16, int> = 0>
|                                                          ^
./mbed-os/drivers/include/drivers/MbedCRC.h:198:5: error: 'constexpr' does not name a type
198 |     constexpr MbedCRC() : MbedCRC(0xFFFF, 0, false, false)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:198:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:202:30: error: 'polynomial' was not declared in this scope; did you mean 'crc_polynomial'?
202 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_7BIT_SD && width == 7, int> = 0>
|                              ^~~~~~~~~~
|                              crc_polynomial
./mbed-os/drivers/include/drivers/MbedCRC.h:202:47: error: 'std::enable_if_t' has not been declared
202 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_7BIT_SD && width == 7, int> = 0>
|                                               ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:202:58: error: expected '>' before '<' token
202 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_7BIT_SD && width == 7, int> = 0>
|                                                          ^
./mbed-os/drivers/include/drivers/MbedCRC.h:203:5: error: 'constexpr' does not name a type
203 |     constexpr MbedCRC() : MbedCRC(0, 0, false, false)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:203:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:207:30: error: 'polynomial' was not declared in this scope; did you mean 'crc_polynomial'?
207 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_8BIT_CCITT && width == 8, int> = 0>
|                              ^~~~~~~~~~
|                              crc_polynomial
./mbed-os/drivers/include/drivers/MbedCRC.h:207:47: error: 'std::enable_if_t' has not been declared
207 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_8BIT_CCITT && width == 8, int> = 0>
|                                               ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:207:58: error: expected '>' before '<' token
207 |     template<uint32_t poly = polynomial, std::enable_if_t<poly == POLY_8BIT_CCITT && width == 8, int> = 0>
|                                                          ^
./mbed-os/drivers/include/drivers/MbedCRC.h:208:5: error: 'constexpr' does not name a type
208 |     constexpr MbedCRC() : MbedCRC(0, 0, false, false)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:208:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h: In function 'int32_t mbed::compute(const void, mbed::crc_data_size_t, uint32_t)':
./mbed-os/drivers/include/drivers/MbedCRC.h:224:16: error: 'crc_impl' was not declared in this scope
224 |         return crc_impl.compute(buffer, size, crc);
|                ^~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h: In function 'int32_t mbed::compute_partial(const void, mbed::crc_data_size_t, uint32_t)':
./mbed-os/drivers/include/drivers/MbedCRC.h:250:16: error: 'crc_impl' was not declared in this scope
250 |         return crc_impl.compute_partial(buffer, size, crc);
|                ^~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h: In function 'int32_t mbed::compute_partial_start(uint32_t)':
./mbed-os/drivers/include/drivers/MbedCRC.h:265:16: error: 'crc_impl' was not declared in this scope
265 |         return crc_impl.compute_partial_start(crc);
|                ^~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h: In function 'int32_t mbed::compute_partial_stop(uint32_t)':
./mbed-os/drivers/include/drivers/MbedCRC.h:279:16: error: 'crc_impl' was not declared in this scope
279 |         return crc_impl.compute_partial_stop(crc);
|                ^~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h: At global scope:
./mbed-os/drivers/include/drivers/MbedCRC.h:286:12: error: 'constexpr' does not name a type
286 |     static constexpr uint32_t get_polynomial()
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:286:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:295:12: error: 'constexpr' does not name a type
295 |     static constexpr uint8_t get_width()
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:295:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:305:47: error: 'CrcMode' has not been declared
305 | template <uint32_t polynomial, uint8_t width, CrcMode mode>
|                                               ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:310:5: error: 'constexpr' does not name a type
310 |     constexpr
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:310:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:455:12: error: 'constexpr' does not name a type
455 |     static constexpr uint32_t reflect_constant(uint32_t data)
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:455:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:505:12: error: 'constexpr' does not name a type
505 |     static constexpr uint32_t reflect(uint32_t data)
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:505:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
In file included from ./mbed-os/platform/include/platform/Callback.h:26,
from ./mbed-os/rtos/include/rtos/Thread.h:30,
from ./mbed-os/rtos/include/rtos/rtos.h:29,
from ./mbed-os/mbed.h:23,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/cxxsupport/mstd_type_traits:468:53: error: 'constexpr' does not name a type
468 | #define MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED constexpr
|                                                     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:521:12: note: in expansion of macro 'MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED'
521 |     static MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/cxxsupport/mstd_type_traits:468:53: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
468 | #define MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED constexpr
|                                                     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:521:12: note: in expansion of macro 'MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED'
521 |     static MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:75,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/MbedCRC.h:531:12: error: 'constexpr' does not name a type
531 |     static constexpr uint32_t get_reflected_polynomial()
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:531:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:540:12: error: 'constexpr' does not name a type
540 |     static constexpr uint32_t get_top_polynomial()
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:540:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:551:11: error: expected nested-name-specifier before 'crc_table_t'
551 |     using crc_table_t = std::conditional_t<width <= 8,  uint8_t,
|           ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:559:18: error: 'crc_table_t' does not name a type
559 |     static const crc_table_t crc_table[MBED_CRC_TABLE_SIZE];
|                  ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:562:12: error: 'constexpr' does not name a type
562 |     static constexpr uint32_t adjust_initial_value(uint32_t initial_xor, bool reflect_data)
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:562:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:605:12: error: 'constexpr' does not name a type
605 |     static constexpr uint32_t get_crc_mask()
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:605:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
In file included from ./mbed-os/platform/include/platform/Callback.h:26,
from ./mbed-os/rtos/include/rtos/Thread.h:30,
from ./mbed-os/rtos/include/rtos/rtos.h:29,
from ./mbed-os/mbed.h:23,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/cxxsupport/mstd_type_traits:468:53: error: 'constexpr' does not name a type
468 | #define MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED constexpr
|                                                     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:615:12: note: in expansion of macro 'MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED'
615 |     static MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/cxxsupport/mstd_type_traits:468:53: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
468 | #define MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED constexpr
|                                                     ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:615:12: note: in expansion of macro 'MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED'
615 |     static MSTD_CONSTEXPR_IF_HAS_IS_CONSTANT_EVALUATED
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:75,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/MbedCRC.h:626:12: error: 'constexpr' does not name a type
626 |     static constexpr uint32_t shift_left(uint32_t data)
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:626:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:636:12: error: 'constexpr' does not name a type
636 |     static constexpr uint32_t shift_right(uint32_t data)
|            ^~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:636:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/MbedCRC.h:755:14: error: 'CrcMode' has not been declared
755 |     template
|              ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:755:30: error: 'mode' was not declared in this scope; did you mean 'modf'?
755 |     template
|                              ^~~~
|                              modf
./mbed-os/drivers/include/drivers/MbedCRC.h:756:10: error: 'enable_if_t' in namespace 'std' does not name a template type
756 |     std::enable_if_t<mode == CrcMode::BITWISE, int32_t>
|          ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:796:14: error: 'CrcMode' has not been declared
796 |     template
|              ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:796:30: error: 'mode' was not declared in this scope; did you mean 'modf'?
796 |     template
|                              ^~~~
|                              modf
./mbed-os/drivers/include/drivers/MbedCRC.h:797:10: error: 'enable_if_t' in namespace 'std' does not name a template type
797 |     std::enable_if_t<mode == CrcMode::TABLE, int32_t>
|          ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:830:14: error: 'CrcMode' has not been declared
830 |     template
|              ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:830:30: error: 'mode' was not declared in this scope; did you mean 'modf'?
830 |     template
|                              ^~~~
|                              modf
./mbed-os/drivers/include/drivers/MbedCRC.h:831:10: error: 'enable_if_t' in namespace 'std' does not name a template type
831 |     std::enable_if_t<mode == CrcMode::HARDWARE, int32_t>
|          ^~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:847:40: error: 'CrcMode' was not declared in this scope; did you mean 'mbed::CrcMode'?
847 | const uint8_t MbedCRC<POLY_7BIT_SD, 7, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                        ^~~~~~~
|                                        mbed::CrcMode
./mbed-os/drivers/include/drivers/MbedCRC.h:46:12: note: 'mbed::CrcMode' declared here
46 | enum class CrcMode {
|            ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:847:54: error: template argument 3 is invalid
847 | const uint8_t MbedCRC<POLY_7BIT_SD, 7, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                                      ^
./mbed-os/drivers/include/drivers/MbedCRC.h:847:15: error: uninitialized const 'impl::_crc_table' [-fpermissive]
847 | const uint8_t MbedCRC<POLY_7BIT_SD, 7, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:847:15: warning: too many template headers for 'impl::_crc_table' (should be 0)
./mbed-os/drivers/include/drivers/MbedCRC.h:850:43: error: 'CrcMode' was not declared in this scope; did you mean 'mbed::CrcMode'?
850 | const uint8_t MbedCRC<POLY_8BIT_CCITT, 8, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                           ^~~~~~~
|                                           mbed::CrcMode
./mbed-os/drivers/include/drivers/MbedCRC.h:46:12: note: 'mbed::CrcMode' declared here
46 | enum class CrcMode {
|            ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:850:57: error: template argument 3 is invalid
850 | const uint8_t MbedCRC<POLY_8BIT_CCITT, 8, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                                         ^
./mbed-os/drivers/include/drivers/MbedCRC.h:850:15: error: uninitialized const 'impl::_crc_table' [-fpermissive]
850 | const uint8_t MbedCRC<POLY_8BIT_CCITT, 8, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:850:15: warning: too many template headers for 'impl::_crc_table' (should be 0)
./mbed-os/drivers/include/drivers/MbedCRC.h:853:46: error: 'CrcMode' was not declared in this scope; did you mean 'mbed::CrcMode'?
853 | const uint16_t MbedCRC<POLY_16BIT_CCITT, 16, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                              ^~~~~~~
|                                              mbed::CrcMode
./mbed-os/drivers/include/drivers/MbedCRC.h:46:12: note: 'mbed::CrcMode' declared here
46 | enum class CrcMode {
|            ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:853:60: error: template argument 3 is invalid
853 | const uint16_t MbedCRC<POLY_16BIT_CCITT, 16, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                                            ^
./mbed-os/drivers/include/drivers/MbedCRC.h:853:16: error: uninitialized const 'impl::_crc_table' [-fpermissive]
853 | const uint16_t MbedCRC<POLY_16BIT_CCITT, 16, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:853:16: warning: too many template headers for 'impl::_crc_table' (should be 0)
./mbed-os/drivers/include/drivers/MbedCRC.h:856:44: error: 'CrcMode' was not declared in this scope; did you mean 'mbed::CrcMode'?
856 | const uint16_t MbedCRC<POLY_16BIT_IBM, 16, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                            ^~~~~~~
|                                            mbed::CrcMode
./mbed-os/drivers/include/drivers/MbedCRC.h:46:12: note: 'mbed::CrcMode' declared here
46 | enum class CrcMode {
|            ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:856:58: error: template argument 3 is invalid
856 | const uint16_t MbedCRC<POLY_16BIT_IBM, 16, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                                          ^
./mbed-os/drivers/include/drivers/MbedCRC.h:856:16: error: uninitialized const 'impl::_crc_table' [-fpermissive]
856 | const uint16_t MbedCRC<POLY_16BIT_IBM, 16, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:856:16: warning: too many template headers for 'impl::_crc_table' (should be 0)
./mbed-os/drivers/include/drivers/MbedCRC.h:859:45: error: 'CrcMode' was not declared in this scope; did you mean 'mbed::CrcMode'?
859 | const uint32_t MbedCRC<POLY_32BIT_ANSI, 32, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                             ^~~~~~~
|                                             mbed::CrcMode
./mbed-os/drivers/include/drivers/MbedCRC.h:46:12: note: 'mbed::CrcMode' declared here
46 | enum class CrcMode {
|            ^~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:859:59: error: template argument 3 is invalid
859 | const uint32_t MbedCRC<POLY_32BIT_ANSI, 32, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                                                           ^
./mbed-os/drivers/include/drivers/MbedCRC.h:859:16: error: uninitialized const 'impl::_crc_table' [-fpermissive]
859 | const uint32_t MbedCRC<POLY_32BIT_ANSI, 32, CrcMode::TABLE>::_crc_table[MBED_CRC_TABLE_SIZE];
|                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/MbedCRC.h:859:16: warning: too many template headers for 'impl::_crc_table' (should be 0)
./mbed-os/drivers/include/drivers/MbedCRC.h:870:1: error: expected declaration before '}' token
870 | } // namespace mbed
| ^
In file included from ./mbed-os/mbed.h:76,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/QSPI.h:116:30: error: expected ',' or '...' before '&&' token
116 |     QSPI(const qspi_pinmap_t &&, int = 0) = delete; // prevent passing of temporary objects
|                              ^~
./mbed-os/drivers/include/drivers/QSPI.h:116:45: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
116 |     QSPI(const qspi_pinmap_t &&, int = 0) = delete; // prevent passing of temporary objects
|                                             ^~~~~~
In file included from ./mbed-os/mbed.h:81,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/HighResClock.h:52:11: error: expected nested-name-specifier before 'duration'
52 |     using duration = std::chrono::microseconds;
|           ^~~~~~~~
./mbed-os/drivers/include/drivers/HighResClock.h:53:11: error: expected nested-name-specifier before 'rep'
53 |     using rep = duration::rep;
|           ^~~
./mbed-os/drivers/include/drivers/HighResClock.h:54:11: error: expected nested-name-specifier before 'period'
54 |     using period = duration::period;
|           ^~~~~~
./mbed-os/drivers/include/drivers/HighResClock.h:55:11: error: expected nested-name-specifier before 'time_point'
55 |     using time_point = std::chrono::time_point;
|           ^~~~~~~~~~
./mbed-os/drivers/include/drivers/HighResClock.h:59:12: error: 'time_point' does not name a type; did you mean 'time_t'?
59 |     static time_point now()
|            ^~~~~~~~~~
|            time_t
In file included from ./mbed-os/drivers/include/drivers/Timer.h:21,
from ./mbed-os/mbed.h:82,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/TickerDataClock.h:55:5: error: 'constexpr' does not name a type
55 |     constexpr TickerDataClock(const ticker_data_t *ticker) : _ticker(ticker)
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:55:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/TickerDataClock.h:60:11: error: expected nested-name-specifier before 'duration'
60 |     using duration = std::chrono::microseconds;
|           ^~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:61:11: error: expected nested-name-specifier before 'rep'
61 |     using rep = duration::rep;
|           ^~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:62:11: error: expected nested-name-specifier before 'period'
62 |     using period = duration::period;
|           ^~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:63:11: error: expected nested-name-specifier before 'time_point'
63 |     using time_point = std::chrono::time_point;
|           ^~~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:96:44: error: 'time_point' has not been declared
96 |     void insert_event(ticker_event_t *obj, time_point timestamp, uint32_t id)
|                                            ^~~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:108:5: error: 'time_point' does not name a type; did you mean 'time_t'?
108 |     time_point now() const
|     ^~~~~~~~~~
|     time_t
./mbed-os/drivers/include/drivers/TickerDataClock.h:118:28: error: 'time_point' has not been declared
118 |     int get_next_timestamp(time_point *timestamp) const
|                            ^~~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:149:5: error: 'constexpr' does not name a type
149 |     constexpr const ticker_data_t operator->() const
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:149:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/TickerDataClock.h:153:5: error: 'constexpr' does not name a type
153 |     constexpr operator const ticker_data_t () const
|     ^~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:153:5: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/TickerDataClock.h:159:32: warning: non-static const member 'const ticker_data_t const mbed::TickerDataClock::_ticker' in class without a constructor [-Wuninitialized]
159 |     const ticker_data_t const _ticker;
|                                ^~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h: In member function 'void mbed::TickerDataClock::insert_event(ticker_event_t, int, uint32_t)':
./mbed-os/drivers/include/drivers/TickerDataClock.h:98:56: error: request for member 'time_since_epoch' in 'timestamp', which is of non-class type 'int'
98 |         ticker_insert_event_us(_ticker, obj, timestamp.time_since_epoch().count(), id);
|                                                        ^~~~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h: In member function 'int mbed::TickerDataClock::get_next_timestamp(int) const':
./mbed-os/drivers/include/drivers/TickerDataClock.h:122:33: error: 'duration' was not declared in this scope
122 |         *timestamp = time_point(duration(t));
|                                 ^~~~~~~~
./mbed-os/drivers/include/drivers/TickerDataClock.h:122:22: error: 'time_point' was not declared in this scope; did you mean 'time_t'?
122 |         *timestamp = time_point(duration(t));
|                      ^~~~~~~~~~
|                      time_t
./mbed-os/drivers/include/drivers/TickerDataClock.h: At global scope:
./mbed-os/drivers/include/drivers/TickerDataClock.h:162:25: error: 'time_point' in 'class mbed::TickerDataClock' does not name a type
162 | inline TickerDataClock::time_point get_time_point(const ticker_event_t &event)
|                         ^~~~~~~~~~
In file included from ./mbed-os/mbed.h:82,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/Timer.h:109:10: error: 'chrono' in namespace 'std' does not name a type
109 |     std::chrono::microseconds elapsed_time() const;
|          ^~~~~~
./mbed-os/drivers/include/drivers/Timer.h:116:25: error: expected ',' or '...' before '&&' token
116 |     TimerBase(TimerBase &&t);
|                         ^~
./mbed-os/drivers/include/drivers/Timer.h:116:28: error: invalid constructor; you probably meant 'mbed::TimerBase (const mbed::TimerBase&)'
116 |     TimerBase(TimerBase &&t);
|                            ^
./mbed-os/drivers/include/drivers/Timer.h:119:53: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
119 |     const TimerBase &operator=(const TimerBase &) = delete;
|                                                     ^~~~~~
./mbed-os/drivers/include/drivers/Timer.h:121:10: error: 'chrono' in namespace 'std' does not name a type
121 |     std::chrono::microseconds slicetime() const;
|          ^~~~~~
./mbed-os/drivers/include/drivers/Timer.h:122:22: error: 'time_point' in 'class mbed::TickerDataClock' does not name a type
122 |     TickerDataClock::time_point _start{};   // the start time of the latest slice
|                      ^~~~~~~~~~
./mbed-os/drivers/include/drivers/Timer.h:123:10: error: 'chrono' in namespace 'std' does not name a type
123 |     std::chrono::microseconds _time{};    // any accumulated time from previous slices
|          ^~~~~~
./mbed-os/drivers/include/drivers/Timer.h: In constructor 'mbed::TimerBase::TimerBase(const mbed::TimerBase&, const mbed::CriticalSectionLock&)':
./mbed-os/drivers/include/drivers/Timer.h:130:84: warning: delegating constructors only available with '-std=c++11' or '-std=gnu++11'
130 |     TimerBase(const TimerBase &t, const CriticalSectionLock &) : TimerBase(t, false) {}
|                                                                                ^
./mbed-os/drivers/include/drivers/Timer.h: In constructor 'mbed::TimerBase::TimerBase(const mbed::TimerBase&, bool)':
./mbed-os/drivers/include/drivers/Timer.h:132:43: error: class 'mbed::TimerBase' does not have any field named '_start'
132 |     TimerBase(const TimerBase &t, bool) : _start(t._start), _time(t._time), _ticker_data(t._ticker_data), _lock_deepsleep(t._lock_deepsleep), _running(t._running) {}
|                                           ^~~~~~
./mbed-os/drivers/include/drivers/Timer.h:132:52: error: 'const class mbed::TimerBase' has no member named '_start'; did you mean 'start'?
132 |     TimerBase(const TimerBase &t, bool) : _start(t._start), _time(t._time), _ticker_data(t._ticker_data), _lock_deepsleep(t._lock_deepsleep), _running(t._running) {}
|                                                    ^~~~~~
|                                                    start
./mbed-os/drivers/include/drivers/Timer.h:132:61: error: class 'mbed::TimerBase' does not have any field named '_time'
132 |     TimerBase(const TimerBase &t, bool) : _start(t._start), _time(t._time), _ticker_data(t._ticker_data), _lock_deepsleep(t._lock_deepsleep), _running(t._running) {}
|                                                             ^~~~~
./mbed-os/drivers/include/drivers/Timer.h:132:69: error: 'const class mbed::TimerBase' has no member named '_time'
132 |     TimerBase(const TimerBase &t, bool) : _start(t._start), _time(t._time), _ticker_data(t._ticker_data), _lock_deepsleep(t._lock_deepsleep), _running(t._running) {}
|                                                                     ^~~~~
In file included from ./mbed-os/drivers/include/drivers/Ticker.h:23,
from ./mbed-os/mbed.h:83,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/TimerEvent.h: At global scope:
./mbed-os/drivers/include/drivers/TimerEvent.h:95:22: error: 'std::chrono' has not been declared
95 |     void insert(std::chrono::microseconds rel_time);
|                      ^~~~~~
./mbed-os/drivers/include/drivers/TimerEvent.h:95:43: error: expected ',' or '...' before 'rel_time'
95 |     void insert(std::chrono::microseconds rel_time);
|                                           ^~~~~~~~
./mbed-os/drivers/include/drivers/TimerEvent.h:119:43: error: 'mbed::TickerDataClock::time_point' has not been declared
119 |     void insert_absolute(TickerDataClock::time_point timestamp);
|                                           ^~~~~~~~~~
In file included from ./mbed-os/mbed.h:83,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/Ticker.h:92:19: error: expected ',' or '...' before '&&' token
92 |     void attach(F &&func, float t)
|                   ^~
./mbed-os/drivers/include/drivers/Ticker.h:122:45: error: 'std::chrono' has not been declared
122 |     void attach(Callback<void()> func, std::chrono::microseconds t);
|                                             ^~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:122:66: error: expected ',' or '...' before 't'
122 |     void attach(Callback<void()> func, std::chrono::microseconds t);
|                                                                  ^
./mbed-os/drivers/include/drivers/Ticker.h:149:66: error: 'mbed::TickerDataClock::time_point' has not been declared
149 |     void attach_absolute(Callback<void()> func, TickerDataClock::time_point abs_time);
|                                                                  ^~~~~~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:151:18: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
151 |     void handler() override;
|                  ^
./mbed-os/drivers/include/drivers/Ticker.h:152:10: error: 'chrono' in namespace 'std' does not name a type
152 |     std::chrono::microseconds  _delay{0};  /< Time delay (in microseconds) for resetting the multishot callback. /
|          ^~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:157:21: error: 'std::chrono' has not been declared
157 |     void setup(std::chrono::microseconds t);
|                     ^~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:157:42: error: expected ',' or '...' before 't'
157 |     void setup(std::chrono::microseconds t);
|                                          ^
./mbed-os/drivers/include/drivers/Ticker.h:158:42: error: 'mbed::TickerDataClock::time_point' has not been declared
158 |     void setup_absolute(TickerDataClock::time_point t);
|                                          ^~~~~~~~~~
./mbed-os/drivers/include/drivers/Ticker.h: In member function 'void mbed::TickerBase::attach(F)':
./mbed-os/drivers/include/drivers/Ticker.h:94:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat]
94 |         auto float_interval = std::chrono::duration(t);
|         ^~~~
|         ----
./mbed-os/drivers/include/drivers/Ticker.h:94:14: error: 'float_interval' does not name a type
94 |         auto float_interval = std::chrono::duration(t);
|              ^~~~~~~~~~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:95:21: error: 'forward' is not a member of 'std'
95 |         attach(std::forward(func), std::chrono::duration_caststd::chrono::microseconds(float_interval));
|                     ^~~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:95:21: note: 'std::forward' is only available from C++11 onwards
./mbed-os/drivers/include/drivers/Ticker.h:95:30: error: expected primary-expression before '>' token
95 |         attach(std::forward(func), std::chrono::duration_caststd::chrono::microseconds(float_interval));
|                              ^
./mbed-os/drivers/include/drivers/Ticker.h:95:32: error: 'func' was not declared in this scope
95 |         attach(std::forward(func), std::chrono::duration_caststd::chrono::microseconds(float_interval));
|                                ^~~~
./mbed-os/drivers/include/drivers/Ticker.h:95:44: error: 'std::chrono' has not been declared
95 |         attach(std::forward(func), std::chrono::duration_caststd::chrono::microseconds(float_interval));
|                                            ^~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:95:71: error: 'std::chrono' has not been declared
95 |         attach(std::forward(func), std::chrono::duration_caststd::chrono::microseconds(float_interval));
|                                                                       ^~~~~~
./mbed-os/drivers/include/drivers/Ticker.h:95:93: error: 'float_interval' was not declared in this scope
95 |         attach(std::forward(func), std::chrono::duration_caststd::chrono::microseconds(float_interval));
|                                                                                ^~~~~~~~~~~~~~
In file included from ./mbed-os/mbed.h:84,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/Timeout.h: At global scope:
./mbed-os/drivers/include/drivers/Timeout.h:68:10: error: 'chrono' in namespace 'std' does not name a type
68 |     std::chrono::microseconds remaining_time() const
|          ^~~~~~
./mbed-os/drivers/include/drivers/Timeout.h:75:23: warning: inheriting constructors only available with '-std=c++11' or '-std=gnu++11'
75 |     using TickerBase::TickerBase;
|                       ^~~~~~~~~~
./mbed-os/drivers/include/drivers/Timeout.h:76:22: warning: defaulted and deleted functions only available with '-std=c++11' or '-std=gnu++11'
76 |     ~TimeoutBase() = default;
|                      ^~~~~~~
./mbed-os/drivers/include/drivers/Timeout.h:78:18: warning: override controls (override/final) only available with '-std=c++11' or '-std=gnu++11'
78 |     void handler() final;
|                  ^
./mbed-os/drivers/include/drivers/Timeout.h:86:22: error: 'time_point' in 'class mbed::TickerDataClock' does not name a type
86 |     TickerDataClock::time_point scheduled_time() const
|                      ^~~~~~~~~~
./mbed-os/drivers/include/drivers/Timeout.h:98:11: error: expected nested-name-specifier before 'clock'
98 |     using clock = HighResClock;
|           ^~~~~
./mbed-os/drivers/include/drivers/Timeout.h:101:19: error: 'time_point' in 'class mbed::HighResClock' does not name a type
101 |     HighResClock::time_point scheduled_time() const
|                   ^~~~~~~~~~
./mbed-os/drivers/include/drivers/Timeout.h:116:28: error: expected ',' or '...' before '&&' token
116 |     void attach_absolute(F &&func, HighResClock::time_point abs_time)
|                            ^~
./mbed-os/drivers/include/drivers/Timeout.h: In member function 'void mbed::Timeout::attach_absolute(F)':
./mbed-os/drivers/include/drivers/Timeout.h:119:43: error: 'forward' is not a member of 'std'
119 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                           ^~~~~~~
./mbed-os/drivers/include/drivers/Timeout.h:119:43: note: 'std::forward' is only available from C++11 onwards
./mbed-os/drivers/include/drivers/Timeout.h:119:52: error: expected primary-expression before '>' token
119 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                                    ^
./mbed-os/drivers/include/drivers/Timeout.h:119:54: error: 'func' was not declared in this scope
119 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                                      ^~~~
./mbed-os/drivers/include/drivers/Timeout.h:119:78: error: 'time_point' is not a member of 'mbed::TickerDataClock'
119 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                                                              ^~~~~~~~~~
In file included from ./mbed-os/mbed.h:85,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/LowPowerClock.h: At global scope:
./mbed-os/drivers/include/drivers/LowPowerClock.h:41:11: error: expected nested-name-specifier before 'duration'
41 |     using duration = std::chrono::microseconds;
|           ^~~~~~~~
./mbed-os/drivers/include/drivers/LowPowerClock.h:42:11: error: expected nested-name-specifier before 'rep'
42 |     using rep = duration::rep;
|           ^~~
./mbed-os/drivers/include/drivers/LowPowerClock.h:43:11: error: expected nested-name-specifier before 'period'
43 |     using period = duration::period;
|           ^~~~~~
./mbed-os/drivers/include/drivers/LowPowerClock.h:44:11: error: expected nested-name-specifier before 'time_point'
44 |     using time_point = std::chrono::time_point;
|           ^~~~~~~~~~
./mbed-os/drivers/include/drivers/LowPowerClock.h:48:12: error: 'time_point' does not name a type; did you mean 'time_t'?
48 |     static time_point now()
|            ^~~~~~~~~~
|            time_t
In file included from ./mbed-os/mbed.h:86,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:43:11: error: expected nested-name-specifier before 'clock'
43 |     using clock = LowPowerClock;
|           ^~~~~
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:46:11: error: expected nested-name-specifier before 'steady_clock'
46 |     using steady_clock = LowPowerClock;
|           ^~~~~~~~~~~~
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:49:20: error: 'time_point' in 'class mbed::LowPowerClock' does not name a type
49 |     LowPowerClock::time_point scheduled_time() const
|                    ^~~~~~~~~~
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:64:28: error: expected ',' or '...' before '&&' token
64 |     void attach_absolute(F &&func, LowPowerClock::time_point abs_time)
|                            ^~
./mbed-os/drivers/include/drivers/LowPowerTimeout.h: In member function 'void mbed::LowPowerTimeout::attach_absolute(F)':
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:67:43: error: 'forward' is not a member of 'std'
67 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                           ^~~~~~~
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:67:43: note: 'std::forward' is only available from C++11 onwards
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:67:52: error: expected primary-expression before '>' token
67 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                                    ^
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:67:54: error: 'func' was not declared in this scope
67 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                                      ^~~~
./mbed-os/drivers/include/drivers/LowPowerTimeout.h:67:78: error: 'time_point' is not a member of 'mbed::TickerDataClock'
67 |         TimeoutBase::attach_absolute(std::forward(func), TickerDataClock::time_point{abs_time.time_since_epoch()});
|                                                                              ^~~~~~~~~~
In file included from ./mbed-os/mbed.h:89,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/drivers/include/drivers/RealTimeClock.h: At global scope:
./mbed-os/drivers/include/drivers/RealTimeClock.h:43:11: error: expected nested-name-specifier before 'duration'
43 |     using duration = std::chrono::seconds;
|           ^~~~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:44:11: error: expected nested-name-specifier before 'rep'
44 |     using rep = duration::rep;
|           ^~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:45:11: error: expected nested-name-specifier before 'period'
45 |     using period = duration::period;
|           ^~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:46:11: error: expected nested-name-specifier before 'time_point'
46 |     using time_point = std::chrono::time_point;
|           ^~~~~~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:83:27: error: expected ';' at end of member declaration
83 |     static bool isenabled() noexcept
|                           ^
|                            ;
./mbed-os/drivers/include/drivers/RealTimeClock.h:83:29: error: 'noexcept' does not name a type
83 |     static bool isenabled() noexcept
|                             ^~~~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:83:29: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/RealTimeClock.h:94:12: error: 'time_point' does not name a type; did you mean 'time_t'?
94 |     static time_point now() noexcept
|            ^~~~~~~~~~
|            time_t
./mbed-os/drivers/include/drivers/RealTimeClock.h:105:23: error: 'time_point' has not been declared
105 |     static void write(time_point t) noexcept
|                       ^~~~~~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:105:35: error: expected ';' at end of member declaration
105 |     static void write(time_point t) noexcept
|                                   ^
|                                    ;
./mbed-os/drivers/include/drivers/RealTimeClock.h:105:37: error: 'noexcept' does not name a type
105 |     static void write(time_point t) noexcept
|                                     ^~~~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:105:37: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11'
./mbed-os/drivers/include/drivers/RealTimeClock.h:115:12: error: 'time_point' does not name a type; did you mean 'time_t'?
115 |     static time_point from_time_t(time_t t) noexcept
|            ^~~~~~~~~~
|            time_t
./mbed-os/drivers/include/drivers/RealTimeClock.h:125:35: error: 'time_point' does not name a type; did you mean 'time_t'?
125 |     static time_t to_time_t(const time_point &t) noexcept
|                                   ^~~~~~~~~~
|                                   time_t
./mbed-os/drivers/include/drivers/RealTimeClock.h:125:48: error: expected ';' at end of member declaration
125 |     static time_t to_time_t(const time_point &t) noexcept
|                                                ^
|                                                 ;
./mbed-os/drivers/include/drivers/RealTimeClock.h:125:50: error: 'noexcept' does not name a type
125 |     static time_t to_time_t(const time_point &t) noexcept
|                                                  ^~~~~~~~
./mbed-os/drivers/include/drivers/RealTimeClock.h:125:50: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11'
In file included from ./mbed-os/platform/include/platform/Stream.h:21,
from ./mbed-os/mbed.h:108,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/FileLike.h:45:13: error: looser throw specifier for 'virtual mbed::FileLike::~FileLike()'
45 |     virtual ~FileLike() {}
|             ^
In file included from ./mbed-os/connectivity/netsocket/include/netsocket/nsapi_ppp.h:22,
from ./mbed-os/mbed.h:28,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/FileHandle.h:48:13: note: overridden function is 'virtual mbed::FileHandle::~FileHandle() throw ()'
48 |     virtual ~FileHandle() = default;
|             ^
In file included from ./mbed-os/connectivity/netsocket/include/netsocket/SocketStats.h:21,
from ./mbed-os/connectivity/netsocket/include/netsocket/InternetSocket.h:31,
from ./mbed-os/connectivity/netsocket/include/netsocket/UDPSocket.h:24,
from ./mbed-os/connectivity/netsocket/include/netsocket/nsapi.h:43,
from ./mbed-os/mbed.h:27,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.h:24,
from ./AUDIO_DISCO_F746NG/AUDIO_DISCO_F746NG.cpp:19:
./mbed-os/platform/include/platform/SingletonPtr.h: In instantiation of 'T SingletonPtr::get() const [with T = rtos::Mutex]':
./mbed-os/platform/include/platform/SingletonPtr.h:150:16:   required from 'T SingletonPtr::operator->() const [with T = rtos::Mutex]'
./mbed-os/drivers/include/drivers/AnalogIn.h:163:15:   required from here
./mbed-os/platform/include/platform/SingletonPtr.h:127:37: error: 'core_util_atomic_load' was not declared in this scope; did you mean 'core_util_atomic_load_s8'?
127 |         T *p = core_util_atomic_load(&_ptr);
|                ~~~~~~~~~~~~~~~^
|                core_util_atomic_load_s8
./mbed-os/platform/include/platform/SingletonPtr.h:133:39: error: 'core_util_atomic_store' was not declared in this scope; did you mean 'core_util_atomic_store_s8'?
133 |                 core_util_atomic_store(&_ptr, p);
|                 ~~~~~~~~~~~~~~^~
|                 core_util_atomic_store_s8
[mbed] ERROR: "/usr/bin/python2" returned error.
Code: 1
Path: "/home/alessandro/Scrivania/ML-KWS/Deployment/kws_realtime_test"
Command: "/usr/bin/python2 -u /home/alessandro/Scrivania/ML-KWS/Deployment/kws_realtime_test/mbed-os/tools/make.py -t GCC_ARM -m DISCO_F746NG --profile ../release_O3.json --source . --source ../Source --source ../Examples/realtime_test --source ../CMSIS_5/CMSIS/NN/Include --source ../CMSIS_5/CMSIS/NN/Source --source ../CMSIS_5/CMSIS/DSP/Include --source ../CMSIS_5/CMSIS/DSP/Source --source ../CMSIS_5/CMSIS/Core/Include --build ./BUILD/DISCO_F746NG/GCC_ARM-RELEASE_O3 -j 8"
Tip: You could retry the last command with "-v" flag for verbose output
How it is possible to compile with the oldest version of the mbed and not with the new one mbed-os?!