[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -msg_* flags for cc on osf
From: |
Peter O'Gorman |
Subject: |
Re: -msg_* flags for cc on osf |
Date: |
Fri, 06 Jul 2007 09:47:42 -0500 |
On Thu, 2007-07-05 at 23:00 -0700, Howard Chu wrote:
> Peter O'Gorman wrote:
> > Bob wanted to add -msg_disable badboundchk,unusedincl to his CFLAGS on
> > Tru64 5.1 using the native compiler, there was a problem though. We have
> > a rule that lets all, otherwise unknown flags beginning with -m through
> > to the linker. However, we don't expect -mfoo to have an argument, so we
> > do not let through the argument. This results in a link error for Bob.
>
> This may be a dumb question, but why can't he use -Wc to pass these flags
> through as desired?
Hi Howard,
He can't use -Wc (commas in the argument cause confusion). However
-Xcompiler is an option that would work.
In my opinion, unless there is a system where this patch would cause
issues, it is much more convenient for users to not have to bracket
their compiler flags with -Xcompiler.
Peter
Re: -msg_* flags for cc on osf, Bob Friesenhahn, 2007/07/06