This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target-specific Front-Ends? (Was: front end changes for altivec)
- From: mike stump <mrs at windriver dot com>
- To: geoffk at redhat dot com, ira at apple dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 27 Nov 2001 18:12:04 -0800 (PST)
- Subject: Re: Target-specific Front-Ends? (Was: front end changes for altivec)
> To: Ira Ruben <ira@apple.com>
> CC: gcc@gcc.gnu.org
> From: Geoff Keating <geoffk@geoffk.org>
> Date: 27 Nov 2001 12:10:15 -0800
> It won't work. There's little or nothing that can be done about that;
> it wouldn't work even if 'vector' was a keyword.
#include <vector>
#include <gosh_what_name_here.h>
using gnu::gcc::vector;
vector<int[4]> a, b;
std::vector<int> cxx_vec;
void foo() {
a += b;
cxx_vec.begin();
}
or
#include <vector>
#include <gosh_what_name_here.h>
using std;
gnu::gcc::vector<int[4]> a, b;
vector<int> cxx_vec;
void foo() {
a += b;
cxx_vec.begin();
}
A completely trivial problem. :-)