• MULTIPLE PUBLIC DEFINITIONS ?
    i write a global.h file: #ifndef GLOBAL_H #define GLOBAL_H int nGlobal; #endif //file A.c #include "global.h" .... //file B.c #include "global.h" .... Build target 'Target 1' compiling...
  • multiple public definition error
    i am getting multiple public definition error. can anyone help me with this. driver.c #include<reg51.h> #include"header.h" sbit RS=P0^4; sbit RW=P0^5; sbit E=P0^6; void lcd_cmd(u8 cmd) { P0=cmd;...
  • Error L104 Multiple public definitions
    I have splitted a C file in to parts and compiled it and it is compiling and I am receiving error message while linking and NO error if compiled as a single file. Help required. Thanks in advance...
  • *** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    I have Declared all my declaration in one file called ADeclaration.h and included this file in all my module C files. i.e. i have MAIN.c (MAIN) Port_IO.c (PORT_IO) STORAGE.c (STORAGE)...
  • global variable/MULTIPLE PUBLIC DEFINITIONS
    Hi, I've split my project into files. I've defined some global variables in one of the header files as follows: unsigned char ToneDisp[16] = {'D','1','2','3','4','5','6','7','8','9','0',0x2A,0x23...