We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Probably something of a trivial question for those who know: Can anyone out there confirm for me whether ANSI C is meant to be a case sensitive, or insensitive languge; and whether the Keil compiler complies with this. Yours gratefully, Richard Roebuck. P.S. Am I the only one who finds that the tick box to send 'an e-mail message when someone posts to this thread' option doesn't work? Do I need to set a specific option on the browser to enable this?
'C' is mose definitely a case-sensitive language. BUT many linkers are not. In Keil's case, the Linker converts everything to UPPERCASE, and then uses that - thus it is insensitive to the original case of identifiers in your source files (there might be an option to control this? - check the manual) The upshot is that you can define a variable 'i' in one C file, and reference an extern I in another, and the Linker will consider them to be the same object - thus giving you the impression that C is not being case-sensitive! "Am I the only one who finds that the tick box to send 'an e-mail message when someone posts to this thread' option doesn't work?" Well, it used to not work, then they fixed it (and added the bit in red about "... you will receive an e-mail...") but I've heard recently that it's gone downhill again. Dunno if it's actually not working, or just that it takes ages (like weeks!) to get around to sending the message! :-0
In Keil's case, the Linker converts everything to UPPERCASE, and then uses that - thus it is insensitive to the original case of identifiers in your source files (there might be an option to control this? - check the manual) Actually, this is not accurate. The OMF51 specification (which is the spec for the OBJ file format) specifies that ALL NAMES in the object file will use uppercase characters. Ergo, the assembler, compiler, and linker ALL product OMF51 compatible files (with uppercase names). Jon P.S. I'll check on the e-mail messages. We're updating some servers and this may be temporarily out of service.