Re: pgAgent 2.0.0 compilation errors (types casting)

Поиск
Список
Период
Сортировка
От asifnaeem
Тема Re: pgAgent 2.0.0 compilation errors (types casting)
Дата
Msg-id 22139337.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: pgAgent 2.0.0 compilation errors (types casting)  ("Dave Page" <dpage@pgadmin.org>)
Список 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 по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7602 - trunk/pgadmin3/docs/en_US
Следующее
От: "M@rton Akos"
Дата:
Сообщение: segfault