Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > include file ru...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 811 of 1183
Post > Topic >>

include file rule

by "Siegmund" <SiegmundSchreiber@[EMAIL PROTECTED] > Nov 3, 2006 at 12:10 AM

Hello all,

Regarding "C99, chapter 6.10.2 Source file inclusion" I have the
following question:

First it is said that the preprocessor directive must have the form

           #include "q-char-sequence" new-line

Looking into the syntax diagrams, a q-char-sequence consists of
(surprise) q-chars, which are 'any member of the source character set
except the new-line character and " '.
Looking at 5.2.1 Character Sets, the source character set is described
as
- 26 uppercase letters
- 26 lowercase letters
- 10 decimal digits
- 29 graphic characters


Additionally in 6.10.2. there is some strange rule about the filenames:
"The implementation shall provide unique mappings for sequences
consisting of one or more letters or digits..."

For me it is not clear, if this is an additional limitation to the
syntax diagram. However, a new static code analyzer throws a warning if
there is some graphic character in the filename, so it does not accept

          #include "l_test.h"


So, is it really not allowed to use graphic characters in include
filenames?


Thanks for all help
Siegmund
-- 
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
 -- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line.  Sorry.
 




 3 Posts in Topic:
include file rule
"Siegmund" <  2006-11-03 00:10:43 
Re: include file rule
Jack Klein <jackklein@  2006-11-07 07:07:25 
Re: include file rule
Brian Inglis <Brian.In  2006-11-07 07:09:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 13:13:15 CST 2008.