utffile symbol defined is strange.

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Guillaume Lelarge" <guillaume(at)lelarge(dot)info>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: utffile symbol defined is strange.
Date: 2010-12-24 15:52:59
Message-ID: 69F7787F28954A799C7E93B9C6977406@acer08f817a9b5
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

I look at this error by VisualStudio2008.

1>wxbase28ud.lib(strconv.obj) : error LNK2005: "class wxMBConvUTF32BE wxConvUTF32BE"
(?wxConvUTF32BE@@3VwxMBConvUTF32BE@@A) (snip)...
1>wxbase28ud.lib(strconv.obj) : error LNK2005: "class wxMBConvUTF32LE wxConvUTF32LE"
(?wxConvUTF32LE@@3VwxMBConvUTF32LE@@A) (snip)...

However, I have remembered that you corrected with firm belief.
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=blobdiff;f=pgadmin/utils/utffile.cpp;h=b4ab90ead1c270a0b06c46a9e312d3929a3e5de4;hp=e426091b4fb05679e00e85d691b2a3b61d44a737;hb=8ff75387c4079081b6e105d0a77f818e4ed17e51;hpb=4b8ae9d82c3b879eb02dda60908ed9590a674ec4

Therefore, I may be having overlooked some important things....
wxWidget is built by itself. Then, It was built by VisualStudio2008.
But, It needs an extern definition.

extern wxMBConvUTF32BE wxConvUTF32BE;
extern wxMBConvUTF32LE wxConvUTF32LE;

Do you know some reasons?
Thanks.

Regards,
Hiroshi Saito

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2010-12-25 04:07:16 pgAdmin III commit: Some strange portions are corrected in Japanese.
Previous Message Erwin Brandstetter 2010-12-23 16:48:07 Re: 1.12.2 builds