Warning while building trunk

Josue Andrade Gomes josue.gomes.honeypot at gmail.com
Sat Apr 12 06:59:59 PDT 2008


Hi,

I'm building trunk on Windows Vista with Visual Studio 2008
Professional Edition.

I got the following warning message:

1>------ Build started: Project: core, Configuration: Debug Win32 ------
1>appcmn.cpp
1>d:\projects\wxWidgets\include\wx/vidmode.h(20) : warning C4099:
'wxVideoMode' : type name first seen using 'class' now seen using
'struct'
1>        d:\projects\wxWidgets\include\wx/app.h(34) : see declaration
of 'wxVideoMode'


Changing app.h to

#if wxUSE_GUI
    struct WXDLLIMPEXP_FWD_CORE wxVideoMode;
#endif

Get rid of message.

regards,
josue gomes


More information about the wx-users mailing list