I tried to compile postgres with cygwin (on Win 95) with gcc 2.95.2 I got an error message, complaining that the declaration of DllMain in dllinit.c conflicts with the declaration in cygwin/cygwin_dll.h in cygwin/cygwin_dll.h : #define DECLARE_CYGWIN_DLL(Entry) \ .... \ int WINAPI Entry (HANDLE h, DWORD reason, void *ptr); \ ... which should expand to : int WINAPI DllMain (HANDLE h, DWORD reason, void *ptr); in dllinit.c : BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved); Is it because gcc 2.95.2 is stricter or is it a bug or is my installation wrong or is it because i use Win 95 instead of NT ? Can you help me ? Sebastian Setzer
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера