• Warning 167
    Howcome is it that the following code: #include <string.h> static unsigned char buf[ 20]; void func( void) { strcpy( buf, "huuhaa"); } gives warning: huuhaa.c(7): warning: #167-D: argument...
  • Warning 167
    Howcome is it that the following code: #include <string.h> static unsigned char buf[ 20]; void func( void) { strcpy( buf, "huuhaa"); } gives warning: huuhaa.c(7): warning: #167-D: argument...
  • Warning 167(-D) on const type * versus type *
    I have a sourcecode like: typedef int tQ32_16; typedef tQ32_16 tVector3[3]; tQ32_16 Length_V3(const tVector3 * vec) {....;} void anyfunc(void) { tVector3 v1 = {1,2,3}; tQ32_16 l1; ...
  • Warning 167(-D) on const type * versus type *
    I have a sourcecode like: typedef int tQ32_16; typedef tQ32_16 tVector3[3]; tQ32_16 Length_V3(const tVector3 * vec) {....;} void anyfunc(void) { tVector3 v1 = {1,2,3}; tQ32_16 l1; ...
  • Using sprintf and the char *restrict warning ...
    Hi, I am relatively new to the Keil / ARM development environment though have been programming microcontrollers and C for a few years now (though only in an amateur capacity :). I am using sprintf...