• 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...
  • declaring user class
    hi, i had problems declaring user class in assembly language for ARM processor. How is it done using the AREA directive AT 0x0000? How the same user class should be declared in the LA LOCATE script...
  • declare a variable with flexible array members (c99)
    Hello everyone, in c99 I can make a struct with a flexible array member at the end. Is it possible to create such a variable at compile time? e.g: struct monitoredArray { unsigned int const...
  • Class forward declaration with RealView Compiler
    Hello, i have a question related to Realview Compiler V3.0. Is the forward declaration of a class not supported or is it a mistake of me? Please look the example below: class clsB; // Forward...
  • Declare variable in the same location as that of a struct member
    Hi All, Am trying to re-write a code in PLM51 to embedded C. There is a statement in PLM51 as below. DECLARE TASK(17) STRUCTURE(PNTR BYTE,STATUS BYTE,DELAY WORD); DECLARE DELAY_HEAD BYTE AT (...