mbed-os/features/frameworks/nanostack-libservice/mbed-client-libservice
Mikhail Maltsev 5c351dc6ae Fix C++11 build with Arm Compiler 6
Currently there are two issues which prevent building Mbed OS with
-std=gnu++11 when using Arm Compiler 6:
* NanostackRfPhys2lp.cpp contains a narrowing conversion in a braced
  initializer list
* ns_types.h includes <stdalign.h> which Arm Compiler 6 currently
  does not provide

This patch fixes both issues. The first one is fixed by changing the
underlying type of the corresponding enumeration when the code is
compiled as C++11. The second issue is worked around by avoiding the
use of <stdalign.h> header for Arm Compiler versions prior to 6.12.
2018-11-26 12:54:51 +00:00
..
platform Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
common_functions.h Merge commit '0ca91df5905111270a6ec1343be5c726c97fe571' into mbedos511 2018-11-05 14:17:48 +02:00
ip4string.h Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d' 2018-07-02 13:15:58 +03:00
ip6string.h Merge commit '7d2f0cab63a2223a426c44e13f771abe6a7d7eaf' 2018-10-05 13:09:29 +03:00
ip_fsc.h Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
ns_list.h Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511 2018-11-10 20:14:25 +02:00
ns_nvm_helper.h Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
ns_trace.h Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
ns_types.h Fix C++11 build with Arm Compiler 6 2018-11-26 12:54:51 +00:00
nsdynmemLIB.h Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d' 2018-07-02 13:15:58 +03:00