Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » C++

warning C4503: decorated name length exceeded, name was trun

 
Jump to:  
 
Ruki
PostPosted: Wed Sep 03, 2008 8:58 pm    Post subject: warning C4503: decorated name length exceeded, name was trun
       
{ This might be an environment-specific question, but let's concentrate
on what the language says about this issue. -mod }

My class name length is too long to be truncated, but my program can
run successfully.
What's the consequence if I disable the warning and ignore it.

e.g.
class_1<class2<class3, int, char* >, class2<class3, int, char* > ,
class2<class3, int, char* >, class2<class3, int, char* >,
.... ...
Quote:
... ...

Larger than 10000 characters.



--
[ See LINK for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
 

 
Jiang
PostPosted: Thu Sep 04, 2008 9:29 am    Post subject: Re: warning C4503: decorated name length exceeded, name was
       
On Sep 4, 5:58 am, Ruki <war...@gmail.com> wrote:
Quote:
{ This might be an environment-specific question, but let's concentrate
on what the language says about this issue. -mod }

My class name length is too long to be truncated, but my program can
run successfully.
What's the consequence if I disable the warning and ignore it.

e.g.
class_1<class2<class3, int, char* >, class2<class3, int, char* > ,
class2<class3, int, char* >, class2<class3, int, char* >,
... ...

... ...

Larger than 10000 characters.


This is a QoI issue.

In Annex B, we have following explanation and guidance for length of
identifier:

[quote Annex B]

Because computers are finite, C + + implementations are inevitably
limited
in the size of the programs they can successfully process.
Every implementation shall document those limitations where known.

[...]

— Number of characters in an internal identifier or macro name [1
024].
— Number of characters in an external identifier [1 024].

[...]

[end quote]

HTH

Jiang


--
[ See LINK for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

redux HARRY POTTER I CZARA OGNIA PS2 gra handball Harry Potter i Czara Ognia PC Nowy rok