Re: Latest ecpg patch broke MSVC build

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Latest ecpg patch broke MSVC build
Дата
Msg-id 20071003061222.1D6AFDCC7C9@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: Latest ecpg patch broke MSVC build  (Hannes Eder <Hannes@HannesEder.net>)
Ответы Re: Latest ecpg patch broke MSVC build  (Hannes Eder <Hannes@HannesEder.net>)
Список pgsql-hackers
> > Since this is an actual API library, perhaps a proper fix is to create a
> > .def file listing the exports in it, the same way we do for libpq? And then
> > we could (should!) also filter the exports the same ways as we do for libpq
> > these days.
> >
> > (see the exports.txt file in libpq)
> >
> > I'll try to find time to look forther at this meanwhile, but if someone can
> > confirm that donig an explicit export list is a good way to go, I can
> > confirm that donig that fixes the build problem :-)
> >
> > //Magnus
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: explain analyze is your friend
> >   
> 
> According to:
> 
> Module-Definition (.def) File EXPORT
> http://msdn2.microsoft.com/en-us/library/ms856515.aspx
> 
> whitespace is required between the name and the ordinal in a
> .def-file, hence in the .def-file DllMain @12 should be used
> instead of DllMain@12.
you're reading the problem wrong. The 12 is not the ordinal, it's a part of the decorated name.


/Magnus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM
Следующее
От: Hannes Eder
Дата:
Сообщение: Re: Latest ecpg patch broke MSVC build