This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Missing closing brace in SDK13.0.0

Hello,

While porting a C++ application to SDK13.0.0, I ran into weird compiler errors, such as

error: #800: this declaration may not have extern "C" linkage

Found out nrf_ble_ancs_c.h was missing the extern "C" closing brace at the end of the file.

#ifdef __cplusplus
}
#endif

I don't know if you guys have been notified about this already, but I didn't find anything regarding this "bug" here, and that's quite silly to find.

Cheers

Related