- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: C compiler on Itanium
Operating System - OpenVMS
1756339
Members
2629
Online
108846
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-13-2006 08:32 AM
07-13-2006 08:32 AM
C compiler on Itanium
I noticed that the C compiler (HP C V7.2-001-50G14) does not produce a warning when the identifier length exceeds 31 characters but simply truncates it. When I link I get an undefined symbol warning.
Is there a compiler option that I need to use to get this warning?
Thanks,
Malleka
Is there a compiler option that I need to use to get this warning?
Thanks,
Malleka
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 08:50 AM
07-13-2006 08:50 AM
Re: C compiler on Itanium
HELP CC /NAMES
What sort of identifier? It (different
version) seems to work as documented for me:
td183 $ type LONG.C
#include
extern int external_name_longer_than_thirty_one_characters;
main()
{
int local_name_longer_than_thirty_one_characters = 1;
printf( " ext = %d.\n", external_name_longer_than_thirty_one_characters);
printf( " loc = %d.\n", local_name_longer_than_thirty_one_characters);
}
td183 $ cc LONG.C
extern int external_name_longer_than_thirty_one_characters;
...........^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated
to "EXTERNAL_NAME_LONGER_THAN_THIRT".
at line number 3 in file USER1:[ANTINODE]LONG.C;3
td183 $ cc /version
HP C V7.2-001 on OpenVMS IA64 V8.2-1
Perhaps you could supply a (small) _failing_
test case. (Or run this one through your
compiler.)
What sort of identifier? It (different
version) seems to work as documented for me:
td183 $ type LONG.C
#include
extern int external_name_longer_than_thirty_one_characters;
main()
{
int local_name_longer_than_thirty_one_characters = 1;
printf( " ext = %d.\n", external_name_longer_than_thirty_one_characters);
printf( " loc = %d.\n", local_name_longer_than_thirty_one_characters);
}
td183 $ cc LONG.C
extern int external_name_longer_than_thirty_one_characters;
...........^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated
to "EXTERNAL_NAME_LONGER_THAN_THIRT".
at line number 3 in file USER1:[ANTINODE]LONG.C;3
td183 $ cc /version
HP C V7.2-001 on OpenVMS IA64 V8.2-1
Perhaps you could supply a (small) _failing_
test case. (Or run this one through your
compiler.)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP