- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- The external identifier name exceeds 31 characters...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2010 11:10 PM
тАО12-16-2010 11:10 PM
The external identifier name exceeds 31 characters.
I am trying to compile a code in which I am getting the following compilation error.
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters
Actually the identifier is defined as:
extern PHPAPI zend_class_entry *spl_ce_RecursiveIteratorIterator;
I don't want to use a macro.
Is there any way out of it??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 12:00 AM
тАО12-17-2010 12:00 AM
Re: The external identifier name exceeds 31 characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 12:03 AM
тАО12-17-2010 12:03 AM
Re: The external identifier name exceeds 31 characters.
Any reason?
> Is there any way out of it??
As usual, many things are possible.
HELP CC /WARNINGS
Look for "DISABLE". Also (as suggested
there):
HELP CC Language_topics Preprocessor #pragma
Look for "message" and "disable".
HELP CC /NAMES
Look for "SHORTENED".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 12:08 AM
тАО12-17-2010 12:08 AM
Re: The external identifier name exceeds 31 characters.
include output from:
CC /VERSION
And a short test case which anyone could run
is always a nice touch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 12:47 AM
тАО12-17-2010 12:47 AM
Re: The external identifier name exceeds 31 characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 01:15 AM
тАО12-17-2010 01:15 AM
Re: The external identifier name exceeds 31 characters.
First, how to avoid the warnings: Steven showed the possibilities using compiler options or pragmas.
Second, how to avoid the underlying problem:
The limit of 31 characters is imposed by the VMS object file/library module format, and is fixed. (Don't know if this limit is still on IA64 with its different object format).
So in a project involving different source areas and libraries in my opinion one should avoid long names, unless all component/library compilation can be forced to use the same /NAMES options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 07:05 AM
тАО12-17-2010 07:05 AM
Re: The external identifier name exceeds 31 characters.
Future readers might wish to know what that
solution was.
> [...] as seen in the comments below.
Below what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2010 02:40 PM
тАО12-18-2010 02:40 PM
Re: The external identifier name exceeds 31 characters.
On Integrity the limit is 1024, imposed by the implementation of Librarian. But I don't know whether any compiler makes use of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2010 05:00 PM
тАО12-19-2010 05:00 PM
Re: The external identifier name exceeds 31 characters.
Thanks,
-Boris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 08:22 PM
тАО12-29-2010 08:22 PM
Re: The external identifier name exceeds 31 characters.
The Pascal compiler uses longer names in the form "module-name.symbol-name" for static symbols in environment files.