• Two different functions but with the same name in separate libraries
    I have two libraries, named a.lib and b.lib. Both libraries have a function char test(void), but return different characters. a.c (a.lib) char test(void); char test(void) { return 'a'; } b.c (b...
  • two indentifiers in the same line, no operators
    What is this line and what does it do. The first part is a previous enumeration, the second part is the first occurrence in the module. static enum DEFROST_STATE PreviousState;
  • Compiler name mangling
    Hi, Having wondered why the linker couldn't locate a code segment which I'd specified as part of the BL51 command line, I took a look at listing file to discover that the compiler had (somewhat arbitrarily...
  • same variable for two different
    Hi All, I have a IIC routine file i2c.asm,which has routines to read and write into a IIC device. Now I am using the i2c.asm for two devices RTC and serial memory which are connected on different...
  • C51: Compiled ouput on two PC not same
    Hi all, I am using C51 V4.1 for a project. Recently I found that the compiled output on my PC and on my colleague PC are different. Settings on two PC are the same (compile option, optimization,...