Bugs item #882280, was opened at 2004-01-22 18:59
Message generated for change (Comment added) made by baafie
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=882280&group_id=2435
Category: w32api
Group: component package
Status: Open
Resolution: None
Priority: 5
Submitted By: baafie sjaak (baafie)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Win32 API switch
Initial Comment:
Microsoft Windows 2000, Service Pack 4
gcc version 3.3.1 (mingw special 20030804-1)
GNU ld version 2.13.90 20030111
Build environment: Dev-cpp (http://www.bloodshed.net/)
Description: Win32 API switch NOGDI does NOT remove
BOOL WINAPI UpdateLayeredWindow(..); from
compilation, but at least one type used in the
parameters of the definition of this function
belong to the Win32 GDI interface. As such, the
following produces a compilation error:
source.cpp:
#define NOGDI
#include <windows.h>
GCC compilation:
../Dev-Cpp/include/winuser.h:3412: error: type
specifier omitted
for parameter `BLENDFUNCTION'
../Dev-Cpp/include/winuser.h:3412: error: syntax error
before `*'
token
winuser.h:3412:
BOOL WINAPI
UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD);
I imagine this bug is fixed as follows:
winuser.h:
#ifndef NOGDI
BOOL WINAPI
UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD);
#endif
Also: you guys do great work. *bow*
----------------------------------------------------------------------
>Comment By: baafie sjaak (baafie)
Date: 2004-01-22 19:02
Message:
Logged In: YES
user_id=851561
Ah.. I see this bug has been submitted before.
Because of the default bug sorting I though the latest bug
report dated back to 2002. My apologies.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=882280&group_id=2435
|