diff options
author | lloyd <[email protected]> | 2008-11-17 18:30:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-17 18:30:45 +0000 |
commit | fb9960c0f51b23282e250b9e08fc12926d076c2d (patch) | |
tree | baaf86623e2339e45fe207adc09e2fb9790a34e0 /src/build-data | |
parent | d835338c5356b806fa5f4e1b4ee7a7d6f016a0de (diff) |
Use TR1 by default with GNU C++ and Intel C++, since all recent versions of
both support TR1 fine AFAICT.
Add ability to explicitly disable using TR1 with --with-tr1=none
Add a marker in the cc info files specifiying if TR1 should be chosen
by default. Yes, autoconf would be better for this than a static
per-compiler setting. Yes, I totally hate autoconf. Yes, I would still
consider autoconf patches. No, I'm not going to do it myself. :)
I am looking forward to being able to safely adopt C++0x and TR2
throughout the library and make the need for a lot of this special-casing
stuff go away.
Until then, it seems better to defaulting to using tr1 (and thus, ECC) than
not.
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/cc/gcc | 2 | ||||
-rw-r--r-- | src/build-data/cc/icc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/cc/gcc b/src/build-data/cc/gcc index dad643dda..68d79ddf8 100644 --- a/src/build-data/cc/gcc +++ b/src/build-data/cc/gcc @@ -2,6 +2,8 @@ realname "GNU C++" binary_name "g++" +compiler_has_tr1 yes + compile_option "-c " output_to_option "-o " add_include_dir_option "-I" diff --git a/src/build-data/cc/icc b/src/build-data/cc/icc index 7e317429f..7d8e9682f 100644 --- a/src/build-data/cc/icc +++ b/src/build-data/cc/icc @@ -2,6 +2,8 @@ realname "Intel C++" binary_name "icpc" +compiler_has_tr1 yes + compile_option "-c " output_to_option "-o " add_include_dir_option "-I" |