|
Ublas : |
From: Shawn D. Pautz (sdpautz_at_[hidden])
Date: 2006-03-20 15:56:28
I asked this question on a previous occasion and got no response. How
does one compile against ublas with an "unsupported" compiler, assuming
that the compiler has no problems with the source code itself? In
ublas/detail/config.hpp are the following lines:
// Cannot continue with an unsupported compiler
#ifdef BOOST_UBLAS_UNSUPPORTED_COMPILER
#error Your compiler is unsupported by this verions of uBLAS. Boost
1.32.0 includes uBLAS with support for many old compilers.
#endif
I'm trying to compile with the PGI compiler, and the above lines halt
the compilation. If I disable them by commenting them out I am able to
compile normally and produce a valid executable; my compiler works. Is
there a preprocessor definition I can use on my compile line to disable
the above lines so that I don't have to modify ublas source code?
-- Shawn D. Pautz Radiation Transport Department, MS 1179 Sandia National Laboratories P.O. Box 5800 Albuquerque, NM 87185 Phone: 505-284-4291 Fax: 505-844-0092 E-Mail: sdpautz_at_[hidden]