Lots of "DriverIRQHandler" doesn't have [extern"C"] guard.

Showing results for 
Search instead for 
Did you mean: 

Lots of "DriverIRQHandler" doesn't have [extern"C"] guard.

Contributor II

Hello MCUXpresso SDK developers,

When i' m using SDK drivers with C++, I prefer C++ compiler to compile all the files. In this scenario, I always encounter the problem that "XXX_DriverIRQHandler" failed to link into the image due to lack of extern "C" guard. It took me pretty much time to fix these things, and make me hard to upgrade to newer version of your SDKs. I strongly recommend you add those guard to all the SDK drivers. I will be really appreciate if you did that.

Have a good day : )

3 Replies

Senior Contributor I

I will second this.  100% of the code authored by NXP should be C++-ready; it's not acceptable for end users to be forced to make these modifications.

David R.

0 Kudos

NXP TechSupport
NXP TechSupport



Thank you for letting me know this. I will inform this to the corresponding to have it in count for further releases. May you provide me the part number you are working with?


Thank you again, if you have more questions do not hesitate to ask me

Best regards,


0 Kudos

Contributor II

The Part NO. is MK66FX1M0VLQ18.

Thanks !

0 Kudos