• declare variable of struct with flexible array member at compile time
    Hello everybody, is it possible to use a struct with flexible array members and declare a variable of it at compile time? e.g.: struct sFoo { uint32_t const num_Elements; uint8_t baz[];...
  • declare variable of struct with flexible array member at compile time
    Hello everybody, is it possible to use a struct with flexible array members and declare a variable of it at compile time? e.g.: struct sFoo { uint32_t const num_Elements; uint8_t baz[];...
  • warning: implicit declaration of function 'ITM_SenderChar' is invalid in C99 issue
    Hi. I came across the warning message as follow warning: implicit declaration of function 'ITM_SenderChar' is invalid in C99 when I implement ITM_SendChar('\r'); what am I supposed to...
  • warning: implicit declaration of function 'ITM_SenderChar' is invalid in C99 issue
    Hi. I came across the warning message as follow warning: implicit declaration of function 'ITM_SenderChar' is invalid in C99 when I implement ITM_SendChar('\r'); what am I supposed to...
  • Can a member variable be declared const in a class without initialization?
    Note: This was originally posted on 5th January 2010 at http://forums.arm.com I am trying to define a class providing an interface to hardware registers. Some of the registers are read-only. I would like...