lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] wx-2.8.9: warnings that are trivial to fix


From: Greg Chicares
Subject: [lmi] wx-2.8.9: warnings that are trivial to fix
Date: Tue, 07 Oct 2008 00:35:25 +0000
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Here are the only two warnings I got when building wx-2.8.9 with
MinGW gcc-3.4.4 (aside from pesky warnings in libstdc++):

../src/msw/listctrl.cpp:2470:5: warning: "_MSC_VER" is not defined
../src/msw/listctrl.cpp:2491:5: warning: "_MSC_VER" is not defined

Here are those two lines:

2470 #if _MSC_VER >= 1400 && _MSC_VER < 1500
2491 #if _MSC_VER >= 1400 && _MSC_VER < 1500

I'd suggest first testing whether that macro is defined, for example
as is done here:

utils.cpp:    #if !(defined(_MSC_VER) && (_MSC_VER > 800))

This is not an actual problem for me: I don't build wx with
'-Werror' or '-pedantic-errors'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]