* selective use of "-check" in DEC CC
@ 1999-06-17 4:00 David Bremner
1999-06-17 4:00 ` Jeff Sullivan
0 siblings, 1 reply; 2+ messages in thread
From: David Bremner @ 1999-06-17 4:00 UTC (permalink / raw)
I am using DEC C V5.6-071 on Digital UNIX V4.0 (Rev. 878).
I would like the "-check" option not to whine to me about problems
in the system include files (i.e. "sys/types.h"). I have R'ed all the F M's
I could find, but I can't figure out how to do this. It looks
like the newest version of DEC C allows finer control of messages,
but I still can't see how to do it on a per file basis.
Is there a pragma like
#pragma stop_whining
#include <stdlib.h>
#pragma whine_away
Thanks for any suggestions that don't involve upgrading :-)
David
bremner at math dot washington dot edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: selective use of "-check" in DEC CC
1999-06-17 4:00 selective use of "-check" in DEC CC David Bremner
@ 1999-06-17 4:00 ` Jeff Sullivan
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sullivan @ 1999-06-17 4:00 UTC (permalink / raw)
We also found the -check option to be too noisy in V4.0D and
earlier, so we added quite a few new features (see below).
You can use the new features of the latest Compaq C compiler on
your V4.0D-F system by installing the compiler in the Developers'
Toolkit. That is, you can update your compiler and development
tools without upgrading your OS. The Developers' Toolkit is
currently in field test and is expected out in the early fall
of this year.
For more info, see
http://www.unix.digital.com/developerstoolkit/
In the new compilers for V4.0E and later, there is much better
user control over the messages. You can enable/disable individual
messages or groups of messages via the command line or #pragmas.
These are described in the cc(1) man page (look for the -msg_ flags).
Also, the messages generated in "system header files", which are
generally files that you do not control, will be quieted by default.
This is described in the cc(1) man page (look for the -SD flag)
We've also worked closely with many developers, including our UNIX
development community, to help tailor the diagnostics that come
out by default. New diagnostics have also been added for things
like uninitialized variables and also 64-bit porting issues. So
far, we've received very good feedback.
-Jeff
--
Jeff Sullivan | Compaq Computer Corp | mailto:jps@zk3.dec.com
Compaq C/C++ | Nashua, NH ZK3-2X23 | Jeff.Sullivan@compaq.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-06-17 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-17 4:00 selective use of "-check" in DEC CC David Bremner
1999-06-17 4:00 ` Jeff Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox