[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Number of significant characters per exported symbol?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-01-19 15:02:42 CET

I found the message below on a mailing list elsewhere. We regularly
have more than 31 characters in our symbols. Are we up for trouble? We
try so hard to keep to the ansi standard in other respects...

(Although I must admit I haven't seen any failed platform/compiler-support..)

bye,

Erik.

---------- Forwarded message ----------

On Thursday 18 January 2007 21:48, Jyrki Jaakkola wrote:
> Most older compilers has this limit but I haven't checked how it's with
> newer compilers. As far as I know even those which had the limit would

From: http://www.25hoursaday.com/C99.html

"Increased identifier size limits: specifically 63 significant initial
characters in an internal identifier or macro name, 31 significant initial
characters in an external identifier, and 4095 characters in a logical source
line. These values were 31, 6, and 509, respectively, in C89."

Unfortunately not all compilers claim C99 yet.

gcc uses all characters it seems. The sun compiler
(http://docs.sun.com/source/819-3688/c90.implementation.app.html) uses 1023,
for Microsoft I found no details.

Groetjes, Peter

--
signature -at- pvaneynd.mailworks.org
http://www.livejournal.com/users/pvaneynd/
"God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 19 15:03:00 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.