Hello Thomas,
Many thanks for your report!
fsl_clock.h is one of the SDK files for cortex-M4 in i.MX8, the SDK is designed based on C language, when downloading the SDK, users can select environment(arm gcc / IAR / MCUXpressoIDE etc), it is the better choice to use compiler we recommend.
Have a nice day!
nxp tic team