Bug #5523
openadd default option -errfmt for sunpro in Makefile.master and uts/Makefile.uts
0%
Description
when using sunstudio as a shadow compiler, it would be nice to get both
warning: and error: messages instead of just warning: messages.-errfmt
, which defaults to -errfmt=error
should be allowed
as well as be on by default in the gate.
It also aids debugging to be able to demote -errwarn=%all
with some-errwarn=no%<tag>
options, although in general there should not be any
turned on by default in the gate (with the possible exception of -errwarn=no%E_DEAD_NONCONST
)
attached is a patch:
Files
Updated by Richard PALO over 8 years ago
It seems as it is not necessary to add these to 'cw' as sunpro only options can be directly specified via, for example,CERRWARN += -_cc=-errfmt
this is more than sufficient at this point.
I still believe that '-errfmt' should be a default for Makefile.master and uts/Makefile.uts
I'll attach a patch proposal.
Consequently, the title of this issue could be changed to
add default option -errfmt for sunpro in Makefile.master and uts/Makefile.uts
Updated by Andrew Stormont over 8 years ago
- Subject changed from add -errfmt and -errwarn=no% to cw to add default option -errfmt for sunpro in Makefile.master and uts/Makefile.uts
- Assignee set to Richard PALO