Linux build error with cablecard_MMI()
When compiling the 1.1.4 Rel E Platform on Linux we get a build error:
cc1: warnings being treated as errors
[exec] cablecard.c: In function 'cablecard_MMI':
[exec] cablecard.c:311: error: implicit declaration of function 'min'
This seems to be because cablecard.c includes <glib.h> that includes <gmacro.h> from the RI_Platform\install\Linux\debug\include\glib-2.0\glib directory.
In gmacro.h there is the standard function MIN(a,b) that perhaps should be used.
In other areas of the Platform [and Stack] there are uses of min() but normally it is defined at the start of each source file that uses it. For cablecard.c this isn't the case.
So the question is, why does my build fail, when it's using the same include directive as [presumably] the daily CC build.