eldarkg / emdr1986x-std-per-lib

Milandr MCU 1986x Standard Peripherals Library. Mirror:
https://code.launchpad.net/~eldar/emdr1986x-std-per-lib/+git/emdr1986x-std-per-lib
46 stars 29 forks source link

MDR1986VE1T.h - unterminated extern "C" { #28

Closed alex-khoroshko closed 6 years ago

alex-khoroshko commented 6 years ago

There's a check at the top of file:

#ifdef __cplusplus
extern "C" {
#endif

but there is no corresponding closing part. If compiled with g++ as c++, header spoils everything below to compile with C linkage and compiler gives "error: expected '}' at end of input"

eldarkg commented 6 years ago

@alex-khoroshko Thank you