aMule Bug Tracker - aMule
View Issue Details
0001075aMuleMulti Platformpublic2007-03-29 10:552007-11-18 06:12
Wuischke 
Wuischke 
normalmajoralways
closedfixed 
SVN 
 
Win32
0001075: win32 compilation stops on BarShader.cpp (Color.h reference)
After getting around the perl problem (will only work in cmd, not in msys sh), compilation stopped when compiling BarShader.cpp

Mingw32 stable (gcc version 3.4.2 (mingw-special))
wxWidgets 2.8.3 static, selfcompiled
Windows XP
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/lib/wx/include/msw-unicode-release-static-2.8 -I/usr/local/include/wx-2.8 -D__WXMSW__ -mthreads -I./libs -DNOMINMAX -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT libmuleappgui_a-BarShader.o -MD -MP -MF ".deps/libmuleappgui_a-BarShader.Tpo" -c -o libmuleappgui_a-BarShader.o `test -f 'BarShader.cpp' || echo './'`BarShader.cpp; \
then mv -f ".deps/libmuleappgui_a-BarShader.Tpo" ".deps/libmuleappgui_a-BarShader.Po"; else rm -f ".deps/libmuleappgui_a-BarShader.Tpo"; exit 1; fi
In file included from BarShader.cpp:27:
Color.h:74: error: `COLORREF' does not name a type
In file included from BarShader.cpp:27:
Color.h:94: error: `WxColourFromCr' declared as an `inline' variable
Color.h:94: error: `COLORREF' was not declared in this scope
Color.h:95: error: expected `,' or `;' before '{' token
Color.h:100: error: `COLORREF' does not name a type
BarShader.cpp: In member function `void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)':
BarShader.cpp:255: error: no match for call to `(wxColour) (uint32&)'
No tags attached.
Issue History
2007-03-29 10:55WuischkeNew Issue
2007-03-29 10:55WuischkeOperating System => Win32
2007-09-12 16:38WuischkeStatusnew => resolved
2007-09-12 16:38WuischkeResolutionopen => fixed
2007-09-12 16:38WuischkeAssigned To => Wuischke
2007-11-18 06:12phoenixStatusresolved => closed

There are no notes attached to this issue.