• when I use '#define DWORD unsigned long' , why does the compiler give me a warning?
    I use the following statement in my include file to define a new data type: #define DWORD unsigned long however, the compiler give me the following warning: Warnning C317:redefinition of macro 'DWORD...
  • when I use '#define DWORD unsigned long' , why does the compiler give me a warning?
    I use the following statement in my include file to define a new data type: #define DWORD unsigned long however, the compiler give me the following warning: Warnning C317:redefinition of macro 'DWORD...
  • why the warning?
    U16 FFSStemq; STR_SUBF code *s_subf; ... FFSStemq = (U16 *) s_subf; U16 is unsigned short, STR_SUBF is a structure. the line of code (FFSStemq = ... ) gives WARNING C260 '=' pointer truncation. nothing...
  • why the warning?
    U16 FFSStemq; STR_SUBF code *s_subf; ... FFSStemq = (U16 *) s_subf; U16 is unsigned short, STR_SUBF is a structure. the line of code (FFSStemq = ... ) gives WARNING C260 '=' pointer truncation. nothing...
  • Recursive Call Warning? Why?
    Hi, please can someone try this little code snippet with the C51 compiler and tell me why I am getting a "Linker Warning L13: Recursive Call to Segment Foo1, Caller: Foo2" void foo1(void); void...