gcc warnings

2009-10-18 Thread Pavel Sanda
i'm not sure whether we should fix, but gcc 4.3 with monolithic build gives those warnings: In file included from liblyxqt4.cpp:79: GuiView.cpp:168: warning: 'lyx::frontend::GuiView::GuiViewPrivate' has a field 'lyx::frontend::GuiView::GuiViewPrivate::bg_widget_' whose type uses the anonymous

Re: gcc warnings

2009-10-18 Thread Steve Litt
On Sunday 18 October 2009 16:31:04 Pavel Sanda wrote: i'm not sure whether we should fix, but gcc 4.3 with monolithic build gives those warnings: I'm writing the following as a user, not a developer... I'm a huge fan of -Wall producing no warnings. That way I know I got a clean compile, and

gcc warnings

2009-10-18 Thread Pavel Sanda
i'm not sure whether we should fix, but gcc 4.3 with monolithic build gives those warnings: In file included from liblyxqt4.cpp:79: GuiView.cpp:168: warning: 'lyx::frontend::GuiView::GuiViewPrivate' has a field 'lyx::frontend::GuiView::GuiViewPrivate::bg_widget_' whose type uses the anonymous

Re: gcc warnings

2009-10-18 Thread Steve Litt
On Sunday 18 October 2009 16:31:04 Pavel Sanda wrote: > i'm not sure whether we should fix, but gcc 4.3 with monolithic build gives > those warnings: I'm writing the following as a user, not a developer... I'm a huge fan of -Wall producing no warnings. That way I know I got a clean compile, and

Re: gcc warnings

2008-02-08 Thread Abdelrazak Younes
Andre Poenitz wrote: After revision 22857 gcc complains: ../../../../trunk/src/support/qstring_helpers.h: In function 'const QString lyx::toqstr(lyx::char_type)': ../../../../trunk/src/support/qstring_helpers.h:75: warning: dereferencing type-punned pointer will break strict-aliasing rules

gcc warnings

2008-02-08 Thread Andre Poenitz
After revision 22857 gcc complains: ../../../../trunk/src/support/qstring_helpers.h: In function 'const QString lyx::toqstr(lyx::char_type)': ../../../../trunk/src/support/qstring_helpers.h:75: warning: dereferencing type-punned pointer will break strict-aliasing rules Possible fix: Index:

Re: gcc warnings

2008-02-08 Thread Abdelrazak Younes
Andre Poenitz wrote: After revision 22857 gcc complains: ../../../../trunk/src/support/qstring_helpers.h: In function 'const QString lyx::toqstr(lyx::char_type)': ../../../../trunk/src/support/qstring_helpers.h:75: warning: dereferencing type-punned pointer will break strict-aliasing rules

gcc warnings

2008-02-08 Thread Andre Poenitz
After revision 22857 gcc complains: ../../../../trunk/src/support/qstring_helpers.h: In function 'const QString lyx::toqstr(lyx::char_type)': ../../../../trunk/src/support/qstring_helpers.h:75: warning: dereferencing type-punned pointer will break strict-aliasing rules Possible fix: Index: