- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- pragma directive for warnings
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
тАО09-07-2005 04:23 AM
тАО09-07-2005 04:23 AM
pragma directive for warnings
We are using HP ANSI C++ B3910B A.03.60
and are currently in the process
of porting our application to the 64-bit
world.
We use some third party include files which generate warnings that we know can be
safely ignored.
However, we do not want to disable the warnings
in our own code.
Is there a pragma directive that disables warnings on the aCC compiler?
e.g.
#pragma warning disable all
#include "thirdparty.h"
#pragma warning enable all
TIA,
Michael.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 05:25 AM
тАО09-07-2005 05:25 AM
Re: pragma directive for warnings
-w (suppress all warnings) or (generally better) +W 600,321,697... to suppress specific warnings.
- Tags:
- suppress warnings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2005 10:12 PM
тАО09-07-2005 10:12 PM
Re: pragma directive for warnings
warnings at a finer granularity.
e.g. Other compilers offer pragmas that allow you to disable warnings at one point
in a compilation unit and then renable
them at another point.
If we could do this, then we dont have
to worry about third-party header files
that are churning out warnings (that we know are safe to ignore), but we dont disable
the warning for our own code, as we feel
they might be important.
Cheers,
Michael.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 05:24 AM
тАО09-08-2005 05:24 AM
Re: pragma directive for warnings
http://docs.hp.com/en/1559/pragmas.htm
and there doesn't seem to be anything in there that will do what you want.
I checked the submitted defects/enhancements lists for the aC++ product and didn't see that anyone had submitted a request for a new pragma of this type.
If you strongly want this, I would suggest opening a call at the Response Center and requesting this pragma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 06:04 AM
тАО09-08-2005 06:04 AM