Hello,
There's a problem compiling the standard ble_app_uart_pca10040_s132 in Segger Embedded Studio for ARM V3.40. The UART example is straight out of nRF5_SDK_14.2.0_17b948a.
The exact same example can be compiled OK in SES V3.34.
The error message in V3.40 is
conflicting types for '__putchar'
retarget.c
previous declaration of '__putchar' was here
That line points to stdio.h declaration of __puchar