Project

General

Profile

Actions

Bug #5523

open

add default option -errfmt for sunpro in Makefile.master and uts/Makefile.uts

Added by Richard PALO over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2015-01-11
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

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

cw.c.patch (1.02 KB) cw.c.patch Richard PALO, 2015-01-11 12:59 PM
Actions #1

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

Actions #2

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
Actions

Also available in: Atom PDF