- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: cc (COMPAQ C V6.5) default warning level
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
тАО01-06-2005 03:22 AM
тАО01-06-2005 03:22 AM
cc (COMPAQ C V6.5) default warning level
i've recently migrating an application from an Alpha OpenVMS 6.1 (c version ?) to an Alpha OpenVMS 7.2-3 server with COMPAQ C V6.5 compiler.
When re-compiling existing source on the new machine i've "noisy" warning or information message.
Is ther a way to define "default" warning level for that compiler ? in a special conf file ?
thanks in advance for all
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 03:34 AM
тАО01-06-2005 03:34 AM
Re: cc (COMPAQ C V6.5) default warning level
$ cc :== "cc/warnings=level2"
See
$ help cc/warnings
for more information on the warning levels. If there is a standard header file that everything in your application includes, you can control the warnings with "#pragma message".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 03:52 AM
тАО01-06-2005 03:52 AM
Re: cc (COMPAQ C V6.5) default warning level
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 04:35 AM
тАО01-06-2005 04:35 AM
Re: cc (COMPAQ C V6.5) default warning level
impressive ! I have never seen that version
:-)
learn something new every day, and you will be happy :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 05:57 PM
тАО01-06-2005 05:57 PM
Re: cc (COMPAQ C V6.5) default warning level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 06:36 PM
тАО01-06-2005 06:36 PM
Re: cc (COMPAQ C V6.5) default warning level
I'm with Ian. New compiler makes useful checks. If you look at them you'll be able to avoid some potential bugs; e.g. new compiler check for casting pointer and variable size. Also it warn you all unused local parameters and variables.
I know it's a very bored job but it's very useful.
Wish you Happy New Year!
Antonio Vigliotti