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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/26/10 07:29
Read: times


 
#179342 - Pay attention to answers already given!
Responding to: ???'s previous message
Vijay Singh said:
also when ever i try to include <reg51.h> header file it gives the error

#warning This file (reg51.h) is obsolete, depending on your harware
#warning use include <8051.h>, or include <8052.h>!


This has already been explained to you: http://www.8052.com/forum/read/179254

Do you understand the meaning of the word obsolete? If not, see: http://dictionary.cambridge.org/dictionar...h/obsolete

With all error & warning messages, you should always read them literally: if it tells you that something is obsolete, then you should deal with it in exactly the same way that you'd deal with anything else in any other area of life that is obsolete!

what is the purpose of this header file

The fact that it is obsolete means that it once had a purpose, but that purpose is now (better) served by something else...

as i read some where its required to include this header in evry C prog.

Are you sure that advice wasn't also obsolete?!




List of 13 messages in thread
TopicAuthorDate
lcd in C            01/01/70 00:00      
   Need some more information            01/01/70 00:00      
      JHD 162A            01/01/70 00:00      
      Number of pixels irrelevant            01/01/70 00:00      
         Also, ...            01/01/70 00:00      
         It is important to knwo the pixel size >>Per            01/01/70 00:00      
            Missed the point!            01/01/70 00:00      
   reg51.h            01/01/70 00:00      
      Pay attention to answers already given!            01/01/70 00:00      
         warning != error            01/01/70 00:00      
   (back?) To basics            01/01/70 00:00      
   How to post formatted source code            01/01/70 00:00      
   you can find some inspiration...            01/01/70 00:00      

Back to Subject List