[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure and intel's C++: inappropriate flags -MT -MD -MP -MF
From: |
Alexandre Duret-Lutz |
Subject: |
Re: configure and intel's C++: inappropriate flags -MT -MD -MP -MF |
Date: |
Tue, 24 Dec 2002 21:40:48 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
[...]
| The problem is that Intel's C++ _accepts_ these flags and
| only emits a warning. This might confuse the autotools here:
Yep.
| make[1]: Entering directory `/work/tresca/markus/DORIS/doris-0.0.1'
| if icpc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./src -I/opt/boost-1.29.0
-I/work/tr
| esca/markus/DIET -ansi -MT TestPDEs.o -MD -MP -MF ".deps/TestPDEs.Tpo" \
| -c -o TestPDEs.o `test -f 'src/test/TestPDEs.C' || echo
'./'`src/test/TestPDEs
| .C; \
| then mv ".deps/TestPDEs.Tpo" ".deps/TestPDEs.Po"; \
| else rm -f ".deps/TestPDEs.Tpo"; exit 1; \
| fi
| icpc: Command line warning: ignoring option '-M'; no argument required
| icpc: Command line warning: ignoring option '-M'; no argument required
| icpc: Command line warning: no action performed for specified object file(s)
| icpc -ansi -o euler TestPDEs.o SimpleRectangularStructured.o
| make[1]: Leaving directory `/work/tresca/markus/DORIS/doris-0.0.1'
What does .deps/TestPDEs.Po contains after this? Do you
understand which -Mx options this diagnotic is referring to
(there is only two warnings, but four -Mx options). How does
icpc's -M option work? Are these warnings output to stdout or
stderr? Is there any icpc-specific environment variable that can
be set to turn warnings into errors?
--
Alexandre Duret-Lutz