| От | pgsql@mohawksoft.com |
|---|---|
| Тема | Re: [pgsql-hackers-win32] snprintf causes regression |
| Дата | |
| Msg-id | 16835.24.91.171.78.1109779253.squirrel@mail.mohawksoft.com обсуждение исходный текст |
| Ответ на | Re: [pgsql-hackers-win32] snprintf causes regression tests (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-hackers |
> > Yes, strangly the Window's linker is fine because libpqdll.def defines > what symbols are exported. I don't think Unix has that capability. A non-static "public" function in a Windows DLL is not available for dynamic linking unless explicitly declared as dll export. This behavior is completely different than UNIX shared libraries. Windows static libraries operate completely differently than Windows DLLs, they work like their UNIX equivilents. So, if you create an snprintf function in code that will be in both a static and dynamic library, the static library may have conflicts where as the dynamic one will not. Don't you love Windows?
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера