• Other const in const structure definition
    Hi all, I have a small issue with a definition with arm C compiler regarding constants. In an assembly code I define a constant with : Version EQU 0x01000100 In my main C file I import this...
  • code const illegal initialization
    I'm trying to put 2 config chars into ROM (user makes a change which the ROM remembers during power down). However on compiling I get: 'error C142: illegal initialization' and then 'warning C34: ...
  • Setting Time Zone for __DATE__ & __TIME__
    The macros __DATE__ & __TIME__ are displaying GMT. How can I get them to display local time (EST)? Time is displayed correctly everywhere else. The laptop is running Windows 7 64-bit.
  • Initialized const at fixed location?
    Hi! I've got a piece of source in my current project which represents a balanced binary tree, built from a load of preinitialized structs in C. All that needs to be visible from the "outside" is...
  • const far when used with structures
    I can not seam to get const far to work with structures, in replace of const . Both of the following sections of code compile but only the first one works as expected. I have used const far in many...