lmi
[Top][All Lists]
Advanced

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

Re: [lmi] product editor patch


From: Greg Chicares
Subject: Re: [lmi] product editor patch
Date: Thu, 07 Feb 2008 21:34:07 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

On 2008-02-07 19:10Z, Vaclav Slavik wrote:
> 
> https://savannah.nongnu.org/patch/index.php?6411

I wonder whether we're using different wx versions. I'm using
wx-2.8.7 as of a few days ago (with only one change:
  http://lists.nongnu.org/archive/html/lmi/2008-02/msg00011.html
which is in wx svn anyway), and MinGW gcc-3.4.4 .

After applying the product-editor patch I'm seeing many warnings
(where there were none before with wx-2.8.7), mostly like this:

/lmi/src/lmi[0]$<../log grep "declared as dllimport: attribute ignored" |wc -l
2685

We saw something similar before:
  http://lists.nongnu.org/archive/html/lmi/2006-04/msg00002.html
which is why we're using MinGW gcc-3.4.4 today instead of 3.4.5 .
There's no specific option to turn off that one warning in the
gcc-3.x series.

These warnings are flagged in wx itself--here's the first one
[line breaks added for readability]:

/MinGW_/bin/g++ -MMD -MF tier_view_editor.d0  -c \
-I /lmi/src/lmi \
-I 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/gcc344/lib/wx/include/msw-ansi-release-2.8 \
-I /opt/lmi/wx-scratch/wxWidgets-2.8.7/include \
-I /opt/lmi/wx-scratch/wxWidgets-2.8.7/contrib/include \
-I /opt/lmi/third_party/include -I /usr/local/include -I 
/usr/local/include/libxml2 \
-I /opt/lmi/third_party/include -I /opt/lmi/local/include -I 
/opt/lmi/local/include/libxml2 \
-DLMI_WX_NEW_USE_SO  -DLIBXML_USE_DLL -DSTRICT    -DWXUSINGDLL -D__WXMSW__ \
-mno-cygwin -DBOOST_STRICT_CONFIG   \
-pedantic-errors -Werror -Wall -Wcast-align -Wconversion 
-Wdeprecated-declarations \
-Wdisabled-optimization -Wimport -Wmultichar -Wpacked -Wpointer-arith 
-Wsign-compare \
-Wundef -Wwrite-strings  -Wno-long-long -std=c++98 -Wctor-dtor-privacy 
-Wdeprecated \
-Wnon-template-friend -Woverloaded-virtual -Wpmf-conversions -Wsynth  -W 
-Wcast-qual \
-Wredundant-decls  -Wno-uninitialized    -ggdb -O2   \
/lmi/src/lmi/tier_view_editor.cpp -otier_view_editor.o

In file included from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/string.h:55,
                 from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/memory.h:16,
                 from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/object.h:20,
                 from /opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/event.h:17,
                 from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/window.h:19,
                 from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/generic/panelg.h:19,
                 from /opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/panel.h:15,
                 from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/scrolwin.h:15,
                 from 
/opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/generic/grid.h:19,
                 from /opt/lmi/wx-scratch/wxWidgets-2.8.7/include/wx/grid.h:15,
                 from /lmi/src/lmi/multidimgrid_any.hpp:101,
                 from /lmi/src/lmi/multidimgrid_safe.hpp:34,
                 from /lmi/src/lmi/tier_view_editor.hpp:30,
                 from /lmi/src/lmi/tier_view_editor.cpp:24:
wxWidgets-2.8.7/include/wx/buffer.h:127: \
warning: inline function 'wxCharBuffer::wxCharBuffer(const char*)' \
is declared as dllimport: attribute ignored.





reply via email to

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