utffile symbol defined is strange. - Mailing list pgadmin-hackers

From Hiroshi Saito
Subject utffile symbol defined is strange.
Date
Msg-id 69F7787F28954A799C7E93B9C6977406@acer08f817a9b5
Whole thread Raw
Responses Re: utffile symbol defined is strange.
List 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


pgadmin-hackers by date:

Previous
From: Erwin Brandstetter
Date:
Subject: Re: 1.12.2 builds
Next
From: Hiroshi Saito
Date:
Subject: pgAdmin III commit: Some strange portions are corrected in Japanese.