This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[64bit] autoconf test for GetConsoleScreenBufferInfo


the attached test extracted by configure of hdf5 is
failing on 32 bit as expected with

/tmp/cc5L84Vo.o: In function `main':
/cygdrive/e/cygwin64/tmp/conftest.c:140: undefined reference to `_GetConsoleScreenBufferInfo'
collect2: ld returned 1 exit status

but it is passing on 64 bit

ls -sh conftest.exe
64K conftest.exe

so I guess there is some weird include pulling w32api
as the definition is only on the w32api

$ grep -rH GetConsoleScreenBufferInfo /usr/include/*
/usr/include/w32api/wincon.h: WINBASEAPI WINBOOL WINAPI GetConsoleScreenBufferInfo(HANDLE hConsoleOutput,PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo); /usr/include/w32api/wincon.h:WINBASEAPI WINBOOL WINAPI GetConsoleScreenBufferInfoEx(


To test just ". config_test.txt"

Regards
Marco




Attachment: config_test.txt
Description: Text document

Attachment: conftest.c
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]