From: | asifnaeem <asifnaeem_it(at)yahoo(dot)com> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: pgAgent 2.0.0 compilation errors (types casting) |
Date: | 2009-02-21 19:02:58 |
Message-ID: | 22139337.post@talk.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
> ..\win32.cpp(59) : error C2660: 'wxString::wc_str' : function does not take
> 0 arguments
> ..\win32.cpp(123) : error C2664: '_wcsdup' : cannot convert parameter 1
> from
> 'const TCHAR *' to 'const wchar_t *'
> Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
> ..\win32.cpp(520) : error C2660: 'wxString::wc_str' : function does not
> take
> 0 arguments
> ..\win32.cpp(520) : error C2466: cannot allocate an array of constant size
> 0
>
It seems that it require /D "UNICODE". Please edit pgagent.sln and add
UNICODE or _UNICODE in the following edit box i.e.
Microsoft Visual Studio 2005 -> Configuration Properties -> c/c++ ->
Preprocessor -> Preprocessor Definitions.
Thanks.
--
View this message in context: http://www.nabble.com/pgAgent-2.0.0-compilation-errors-%28types-casting%29-tp20645294p22139337.html
Sent from the PostgreSQL - pgadmin hackers mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | M@rton Akos | 2009-02-22 09:38:24 | segfault |
Previous Message | svn | 2009-02-20 15:48:22 | SVN Commit by dpage: r7602 - trunk/pgadmin3/docs/en_US |