Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/28/06 14:50
Read: times


 
#113301 - Declaration vs Definition
Responding to: ???'s previous message
M.jawed Iqbal said:
global variables which are declared (sic?) in a file named Globals.h

Almost certainly, you have put the Definitions in the Header file.
If you put Definitions in a Header file, and #include that header file in multiple source files, you will obviously get Multiple Definition errors.

Your header should contain Declarations only.

As Erik says, this is plain, standard 'C' stuff - nothing to do with Keil or Banking.




List of 4 messages in thread
TopicAuthorDate
Kiel compiler issue using CMX850 toolkit            01/01/70 00:00      
   extern            01/01/70 00:00      
   Declaration vs Definition            01/01/70 00:00      
      Declaration vs Definition; detail            01/01/70 00:00      

Back to Subject List