Building X11 on latest TRUNK (gcc)

11 views
Skip to first unread message

Igor Korot

unread,
Nov 16, 2012, 4:55:50 PM11/16/12
to wx-dev
Hi, ALL,

igor@LearningRight ~/wxWidgets/buildX11 $ make >> wxWidgets.make.x11
../src/generic/graphicc.cpp:1845:1: warning: unused parameter 'window'
../src/generic/graphicc.cpp:2185:6: warning: unused parameter 'text'
../src/aui/auibook.cpp: In member function 'void
wxAuiTabCtrl::OnMotion(wxMouseEvent&)':
../src/aui/auibook.cpp:1236:15: warning: unused variable 'wnd'
../src/stc/stc.cpp: In member function 'void
wxStyledTextCtrl::AnnotationClearLine(int)':
../src/stc/stc.cpp:4508:46: warning: passing NULL to non-pointer
argument 3 of 'wxIntPtr wxStyledTextCtrl::SendMsg(int, wxUIntPtr,
wxIntPtr) const'
../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'rc'
../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'width'
../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'height'
../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'pixelsImage'
../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'type'
../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'width'
../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'height'
../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'pixelsImage'
igor@LearningRight ~/wxWidgets/buildX11 $

Thank you.

Lauri Nurmi

unread,
Nov 16, 2012, 6:57:05 PM11/16/12
to wx-...@googlegroups.com
While you're at it, why not create and submit a patch to fix these warnings?

Btw, none of those variables is really unused, just unused in that
particular (and rare) configuration. Therefore I don't know if it's even
worth eliminating the warnings.

Thank you.

Igor Korot

unread,
Nov 16, 2012, 7:14:56 PM11/16/12
to wx-...@googlegroups.com
Lauri,

On Fri, Nov 16, 2012 at 3:57 PM, Lauri Nurmi <lan...@utu.fi> wrote:
> 16.11.2012 23:55, Igor Korot kirjoitti:
>
>> Hi, ALL,
>>
>> igor@LearningRight ~/wxWidgets/buildX11 $ make >> wxWidgets.make.x11
>> ../src/generic/graphicc.cpp:1845:1: warning: unused parameter 'window'
>> ../src/generic/graphicc.cpp:2185:6: warning: unused parameter 'text'
>> ../src/aui/auibook.cpp: In member function 'void
>> wxAuiTabCtrl::OnMotion(wxMouseEvent&)':
>> ../src/aui/auibook.cpp:1236:15: warning: unused variable 'wnd'
>> ../src/stc/stc.cpp: In member function 'void
>> wxStyledTextCtrl::AnnotationClearLine(int)':
>> ../src/stc/stc.cpp:4508:46: warning: passing NULL to non-pointer
>> argument 3 of 'wxIntPtr wxStyledTextCtrl::SendMsg(int, wxUIntPtr,
>> wxIntPtr) const'
>> ../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'rc'
>> ../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'width'
>> ../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'height'
>> ../src/stc/PlatWX.cpp:443:6: warning: unused parameter 'pixelsImage'
>> ../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'type'
>> ../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'width'
>> ../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'height'
>> ../src/stc/PlatWX.cpp:1335:6: warning: unused parameter 'pixelsImage'
>
>
> While you're at it, why not create and submit a patch to fix these warnings?

Exactly because of you comment below.

>
> Btw, none of those variables is really unused, just unused in that
> particular (and rare) configuration. Therefore I don't know if it's even
> worth eliminating the warnings.

Well, wx policy is: everything should compile with out warnings ojn
the highrst level
possible.

Besides, some warnings here is in 3rd party lib...

Thank you.
>
> Thank you.
>
> --
> To unsubscribe, send email to wx-dev+un...@googlegroups.com
> or visit http://groups.google.com/group/wx-dev

Gerald Brandt

unread,
Nov 16, 2012, 5:46:08 PM11/16/12
to wx-...@googlegroups.com
Was there a question or comment to go with that?

Gerald
Reply all
Reply to author
Forward
0 new messages