Re: WIN32 Build?
От | Bruce Momjian |
---|---|
Тема | Re: WIN32 Build? |
Дата | |
Msg-id | 200608091941.k79JfDf14582@momjian.us обсуждение исходный текст |
Ответ на | Re: WIN32 Build? ("Shoaib Mir" <shoaibmir@gmail.com>) |
Ответы |
Re: WIN32 Build?
Re: WIN32 Build? |
Список | pgsql-general |
Shoaib Mir wrote: > I too faced same kind of a problem building libpq on Windows and as a > solution to it removed "inline" from the file > "\backend\utils\mb\wchar.c" > > Did the following ... changed "static inline int" to "static int" > instead at a couple of places in the wchar.c file > > Run "nmake" after doing this specific change and hopefully it will > solve the problem. Interesting. It seem the key line is here: > > cl : Command line warning D4029 : optimization is not available in the > > standard edition compiler So the "standard" version doesn't support inline functions. To fix that, I think we need some compiler define test to tell us if it is a "standard" edition compiler. -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-general по дате отправления: