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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/25/11 09:55
Modified:
  10/25/11 10:20

Read: times


 
#184357 - no warning/error on the compiler
Responding to: ???'s previous message
I might investigate that a bit further

there is a warning code for the compiler in the documentation which my assignment of an integer/char (I tried both to be sure) should have triggered,

also the switch statement gave no warnings either. I'll see what I can dig up, I couldn't find any documentation on how to turn these warnings on.

from the RC51 manual.
Warning C086 Assignment of integer to enumeration
Initialization of an ‘enum’ variable with an integer type value.
Assignment of an ‘enum’ variable with an integer type value.


[edit]
here is the link on the forum at raisonance
http://forum.raisonance.com/viewtopic.php?pid=13383#p13383
[/edit]


List of 23 messages in thread
TopicAuthorDate
User entered recipes ???            01/01/70 00:00      
   Just create array of regular rules            01/01/70 00:00      
      Thanks - that's great            01/01/70 00:00      
         programming language            01/01/70 00:00      
            programming language - not really            01/01/70 00:00      
               consider enum            01/01/70 00:00      
                  thanks - implemented.            01/01/70 00:00      
                     Intelligence            01/01/70 00:00      
                        I must have a stupid compiler            01/01/70 00:00      
                           Not all compilers are as good at generate warnings            01/01/70 00:00      
                              no warning/error on the compiler            01/01/70 00:00      
                                 response from Raisonance            01/01/70 00:00      
                  enumerations on 8051            01/01/70 00:00      
                     enums are 8bit by default on Raisonance            01/01/70 00:00      
                        NULL            01/01/70 00:00      
                           Could you show me the code            01/01/70 00:00      
                              compatibility et al            01/01/70 00:00      
                                 why change pointer to CODE?            01/01/70 00:00      
                                    enum advantage            01/01/70 00:00      
                                    user page does not work (at least for me)            01/01/70 00:00      
                                       try it now            01/01/70 00:00      
                     re: enumerations on 8051            01/01/70 00:00      
   Article on Hierarchical Menu Structure            01/01/70 00:00      

Back to Subject List