On Fri, Apr 04, 2008 at 07:22:07PM +0100, Jon Dowland wrote:
> configure:17706: c++ -o conftest  -fno-strict-aliasing -fshort-wchar -pthread 
> -pipe   -lpthread -Wl,--as-needed conftest.C -ldl -lm  1>&5
> /usr/bin/ld: ERROR: /tmp/ccef8aU1.o: Conflicting definitions of wchar_t

WTF?!? There's not even wchar_t in the source

> /usr/bin/ld: failed to merge target specific data of file /tmp/ccef8aU1.o
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 17686 "configure"
> #include "confdefs.h"
>  class A {
>              public:  A(int& x) : mValue(x) {}
>                       ~A() { mValue--; }
>                       operator char**() { return 0; }
>              private:  int& mValue;
>              };
>              void func(char **arg) {}
>              int m=2;
>              void test() {
>                   func(A(m));
>                   if (m==1) m = 0;
>              }
>              int main() {
>                  test();
>                  return(m);
>              }
>              




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to