On Jun 13, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:

> I'm tempted to say he is right.  Why don't we just check for the exit
> status?

Because some compilers just print a warning message and proceed.  GCC
on HP/UX without GNU as is a good example.

> It should be

> if ${CC-cc} -g ... 2&>1 | grep . >/dev/null; then

Yup.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to