Thank you, Alice, for you response.
Yes, indeed. When compiling with the C99 standard we get 52 warnings. But the number of different warnings is less:
- warning: ISO C restricts enumerator values to range of 'int' before C2X [-Wpedantic]
- warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic]
- warning: union has no named members [-Wpedantic]
- warning: struct has no named members [-Wpedantic]
- warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion]
- warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion]
Maybe you want to specify from which FSL version which coding standard is required. Thanks.