Summary:

Various Compiler Errors occur on Linux while compiling Sentinel Cloud C Sample using latest version of GCC v4.6 or above.


Cause:

This is due to the changes made in default flags for GCC compiler


You could refer the following link for more details:

https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes?action=show&redirect=OneiricOcelot%2FTechnicalOverview#GCC_4.6_Toolchain


Workaround:

We have to put some extra flags for GCC compiler as shown in make file:

  Untitled