- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- stdcomp: declaration does not declare anything
Operating System - Tru64 Unix
1820483
Members
2357
Online
109624
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
Discussions
Forums
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
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
тАО01-08-2007 06:46 AM
тАО01-08-2007 06:46 AM
stdcomp: declaration does not declare anything
Hi,
Env: DS10 Alpha, Tru64 Unix, C++ V7.1.
Compiling c++ program using g++ 2.9-GnuPro-99r1. I get the following error from "stdcomp" line#:1638 - declaration does not declare anything.
It is a existing program written on Tru64 V4.x, now I compile on Tru64 V5.1B
The line 1638 in "stdcomp" contains...
1631 // CXXL -- make unsupported flag -Wf,--no_bool work
1632 #if !defined(_BOOL_EXISTS)
1633 # ifdef _RWSTD_MSVC_BOOL_WARNING
1634 # pragma warning ( disable : 4237 )
1635 # endif
1636 #define _BOOL_EXISTS // we'll use workaround
1637 #define _RW_STD_NO_BOOL 1
1638 typedef int bool;
1639 #ifndef true
1640 # define true 1
1641 endif
1642 #ifndef false
1643 # define false 0
1644 #endif
1645 #endif // bool exists
Any idea,please?
Thanks
Archunan
Env: DS10 Alpha, Tru64 Unix, C++ V7.1.
Compiling c++ program using g++ 2.9-GnuPro-99r1. I get the following error from "stdcomp" line#:1638 - declaration does not declare anything.
It is a existing program written on Tru64 V4.x, now I compile on Tru64 V5.1B
The line 1638 in "stdcomp" contains...
1631 // CXXL -- make unsupported flag -Wf,--no_bool work
1632 #if !defined(_BOOL_EXISTS)
1633 # ifdef _RWSTD_MSVC_BOOL_WARNING
1634 # pragma warning ( disable : 4237 )
1635 # endif
1636 #define _BOOL_EXISTS // we'll use workaround
1637 #define _RW_STD_NO_BOOL 1
1638 typedef int bool;
1639 #ifndef true
1640 # define true 1
1641 endif
1642 #ifndef false
1643 # define false 0
1644 #endif
1645 #endif // bool exists
Any idea,please?
Thanks
Archunan
Regards
Archie
Archie
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 10:42 PM
тАО01-11-2007 10:42 PM
Re: stdcomp: declaration does not declare anything
Hi,
It's a *long* time since I've done anything with C, let alone C++, however I would have one comment.
If you've got the HP C++ compiler installed, why are you trying to compile with the GNU compiler...?
I'd have thought that would cause some conflicts...
Cheers,
Rob
It's a *long* time since I've done anything with C, let alone C++, however I would have one comment.
If you've got the HP C++ compiler installed, why are you trying to compile with the GNU compiler...?
I'd have thought that would cause some conflicts...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2007 07:00 AM
тАО01-12-2007 07:00 AM
Re: stdcomp: declaration does not declare anything
> I'd have thought that would cause some conflicts...
I wouldn't. It certainly doesn't cause
problems with plain-old C.
Have you considered posting a small test
program?
> using g++ 2.9-GnuPro-99r1
Can't you find anything older? Around here:
urtx# g++ -v
Reading specs from /usr/local/lib/gcc/alphaev6-dec-osf5.1/3.4.6/specs
Configured with: /usr/local/gnu/gcc-3.4.6/configure
Thread model: posix
gcc version 3.4.6
urtx# g++ --version
g++ (GCC) 3.4.6
and I thought that _that_ was old.
My non-commercial Tru64 license did not
include a CXXOSF PAK, so I'm _forced_ to use
GCC for C++ (or else spend real money).
What's your excuse?
Did you build your GCC kit on the current
Tru64 OS, or was it bult on some older
version? OS upgrades (or new header files)
can break GCC.
I wouldn't. It certainly doesn't cause
problems with plain-old C.
Have you considered posting a small test
program?
> using g++ 2.9-GnuPro-99r1
Can't you find anything older? Around here:
urtx# g++ -v
Reading specs from /usr/local/lib/gcc/alphaev6-dec-osf5.1/3.4.6/specs
Configured with: /usr/local/gnu/gcc-3.4.6/configure
Thread model: posix
gcc version 3.4.6
urtx# g++ --version
g++ (GCC) 3.4.6
and I thought that _that_ was old.
My non-commercial Tru64 license did not
include a CXXOSF PAK, so I'm _forced_ to use
GCC for C++ (or else spend real money).
What's your excuse?
Did you build your GCC kit on the current
Tru64 OS, or was it bult on some older
version? OS upgrades (or new header files)
can break GCC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2007 10:31 AM
тАО01-29-2007 10:31 AM
Re: stdcomp: declaration does not declare anything
Rob,
I can use HP compilers, but I don't want to change the make files.
Steven,
I hope I have installed this version of gcc, g++ from the V5.1B media. I upgraded v5.1b to v5.b-3. I got the same error, so I again re-installed just v5.1B only, no upgrade. I will try to find the latest gcc, g++ and build on this os itself.
Resolution: As i don't have enough time to resolve the issue (finding the proper libraries), I decided to build the code on my old tru64 v4.0 system. It went through without any problems.
Thanks for both of your timings.
Archie
I can use HP compilers, but I don't want to change the make files.
Steven,
I hope I have installed this version of gcc, g++ from the V5.1B media. I upgraded v5.1b to v5.b-3. I got the same error, so I again re-installed just v5.1B only, no upgrade. I will try to find the latest gcc, g++ and build on this os itself.
Resolution: As i don't have enough time to resolve the issue (finding the proper libraries), I decided to build the code on my old tru64 v4.0 system. It went through without any problems.
Thanks for both of your timings.
Archie
Regards
Archie
Archie
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP