Re: pgAgent 2.0.0 compilation errors (types casting) - Mailing list pgadmin-hackers

From asifnaeem
Subject Re: pgAgent 2.0.0 compilation errors (types casting)
Date
Msg-id 22139337.post@talk.nabble.com
Whole thread Raw
In response to Re: pgAgent 2.0.0 compilation errors (types casting)  ("Dave Page" <dpage@pgadmin.org>)
List 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.


pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r7602 - trunk/pgadmin3/docs/en_US
Next
From: "M@rton Akos"
Date:
Subject: segfault