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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,207 Views
ChekhovMark
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

1,159 Views
dmarks_ls
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.

1,188 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

 

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,

Omar

0 Kudos

1,176 Views
ChekhovMark
Contributor II

The Part NO. is MK66FX1M0VLQ18.

Thanks !

0 Kudos