Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Program Files (x86)\CodeBlocks\pdcurs36fix\wincon>mingw32-make -f Makefile
- gcc -c -O2 -Wall -I.. ../wincon/pdcscrn.c
- ../wincon/pdcscrn.c:77:5: error: unknown type name 'PCONSOLE_SCREEN_BUFFER_INFOEX'
- PCONSOLE_SCREEN_BUFFER_INFOEX lpConsoleScreenBufferInfoEx);
- ^
- ../wincon/pdcscrn.c:79:5: error: unknown type name 'PCONSOLE_SCREEN_BUFFER_INFOEX'
- PCONSOLE_SCREEN_BUFFER_INFOEX lpConsoleScreenBufferInfoEx);
- ^
- ../wincon/pdcscrn.c:81:8: error: unknown type name 'SetConsoleScreenBufferInfoExFn'
- static SetConsoleScreenBufferInfoExFn pSetConsoleScreenBufferInfoEx = NULL;
- ^
- ../wincon/pdcscrn.c:82:8: error: unknown type name 'GetConsoleScreenBufferInfoExFn'
- static GetConsoleScreenBufferInfoExFn pGetConsoleScreenBufferInfoEx = NULL;
- ^
- ../wincon/pdcscrn.c:85:8: error: unknown type name 'CONSOLE_SCREEN_BUFFER_INFOEX'
- static CONSOLE_SCREEN_BUFFER_INFOEX console_infoex;
- ^
- ../wincon/pdcscrn.c: In function '_set_console_infoex':
- ../wincon/pdcscrn.c:187:10: error: called object 'pSetConsoleScreenBufferInfoEx' is not a function or function pointer
- if (!pSetConsoleScreenBufferInfoEx(pdc_con_out, &console_infoex))
- ^
- ../wincon/pdcscrn.c:81:39: note: declared here
- static SetConsoleScreenBufferInfoExFn pSetConsoleScreenBufferInfoEx = NULL;
- ^
- ../wincon/pdcscrn.c: In function '_init_console_infoex':
- ../wincon/pdcscrn.c:268:19: error: request for member 'cbSize' in something not a structure or union
- console_infoex.cbSize = sizeof(console_infoex);
- ^
- ../wincon/pdcscrn.c:270:10: error: called object 'pGetConsoleScreenBufferInfoEx' is not a function or function pointer
- if (!pGetConsoleScreenBufferInfoEx(pdc_con_out, &console_infoex))
- ^
- ../wincon/pdcscrn.c:82:39: note: declared here
- static GetConsoleScreenBufferInfoExFn pGetConsoleScreenBufferInfoEx = NULL;
- ^
- ../wincon/pdcscrn.c:273:19: error: request for member 'srWindow' in something not a structure or union
- console_infoex.srWindow.Right++;
- ^
- ../wincon/pdcscrn.c:274:19: error: request for member 'srWindow' in something not a structure or union
- console_infoex.srWindow.Bottom++;
- ^
- ../wincon/pdcscrn.c: In function '_get_colors':
- ../wincon/pdcscrn.c:284:28: error: request for member 'cbSize' in something not a structure or union
- if (!console_infoex.cbSize)
- ^
- ../wincon/pdcscrn.c:287:42: error: request for member 'ColorTable' in something not a structure or union
- (COLORREF *)(&(console_infoex.ColorTable));
- ^
- ../wincon/pdcscrn.c: In function 'PDC_scr_open':
- ../wincon/pdcscrn.c:476:10: error: 'GetConsoleScreenBufferInfoExFn' undeclared (first use in this function)
- (GetConsoleScreenBufferInfoExFn)GetProcAddress(h_kernel,
- ^
- ../wincon/pdcscrn.c:476:10: note: each undeclared identifier is reported only once for each function it appears in
- ../wincon/pdcscrn.c:476:41: error: expected ';' before 'GetProcAddress'
- (GetConsoleScreenBufferInfoExFn)GetProcAddress(h_kernel,
- ^
- ../wincon/pdcscrn.c:479:10: error: 'SetConsoleScreenBufferInfoExFn' undeclared (first use in this function)
- (SetConsoleScreenBufferInfoExFn)GetProcAddress(h_kernel,
- ^
- ../wincon/pdcscrn.c:479:41: error: expected ';' before 'GetProcAddress'
- (SetConsoleScreenBufferInfoExFn)GetProcAddress(h_kernel,
- ^
- ../wincon/pdcscrn.c:366:13: warning: variable 'h_kernel' set but not used [-Wunused-but-set-variable]
- HMODULE h_kernel;
- ^
- ../wincon/pdcscrn.c: In function '_get_colors':
- ../wincon/pdcscrn.c:295:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Makefile:95: recipe for target 'pdcscrn.o' failed
- mingw32-make: *** [pdcscrn.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement