[petsc-dev] CFLAGS / LDFLAGS and cxx error

Jed Brown jed at 59A2.org
Wed Jul 28 14:08:14 CDT 2010


On Wed, 28 Jul 2010 13:53:40 -0500, Barry Smith <bsmith at mcs.anl.gov> wrote:
>   Nope, they are completely distinct to handle the rare cases where
>   the c++ compiler doesn't like all the valid flags that the C
>   compiler accepts. Is there a way we could have made this fact
>   obvious to users?

Maybe just print a warning if CFLAGS is not a substring of CXXFLAGS.
Providing good error messages is the hardest part...

Jed



More information about the petsc-dev mailing list