
10 Jul
2004
10 Jul
'04
12:36 p.m.
Arkadiy Vertleyb wrote:
Alexander Nasonov <alnsn@yandex.ru> wrote
My attempt to compile ./libs/typeof/test/main.cpp failed...
Could you tell me what exactly the Intel compiler complained about?
so I quickly typed my small test (attached). Intel compiler compiled it.
I am curious how it knew about std::string and vector. They are not supposed to be registered by the basic typeof facility. Are you sure you didn't #include anything else? It's a magic. I've just tried icc -E to see preprocessed output and I see typeof keyword there. Looks like either __MWERKS__ or __GNUC__ is defined. Can you switch to boost scheme of detecting the compiler? -- Alexander Nasonov