[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disable the present-but-cannot-be-compiled header warning?
From: |
Jeff Squyres |
Subject: |
Re: Disable the present-but-cannot-be-compiled header warning? |
Date: |
Fri, 31 Oct 2008 07:13:43 -0400 |
On Oct 31, 2008, at 3:30 AM, Paolo Bonzini wrote:
I didn't understand really what was Jeff's usecase.
Just to clarify what my use case is; for our project (Open MPI):
- we know that there are some uncompilable header files on some
platforms (e.g., RHEL4U3 with a specific vendor's 32 bit compiler)
- we don't want to warn the user about it, because:
- it's a known problem that will not be fixed
- the problematic header file does not "belong" to us; it's not
our prevue to fix it
- our code can handle not using the problematic header (and the
features that it provides)
- when compiling on this platform with this compiler, we just want
HAVE_INFINIBAND_DRIVER_H not defined, so that our C code can react
accordingly
In short: all we want is a simple "no" result from the test.
Does that make sense?
--
Jeff Squyres
Cisco Systems