[root@...1070...: [Inkscape-tester] inkscape build report]
Hey check it out, someone knocked the number of warnings from 7 down to 4! Cool!
Bryce
----- Forwarded message from root <root@...1070...> -----
Date: Thu, 24 Nov 2005 17:21:03 -0800 From: root <root@...1070...> To: inkscape-tester@lists.sourceforge.net Subject: [Inkscape-tester] inkscape build report
= Analysis Report for inkscape = Report Time: Thu Nov 24 15:10:24 2005 (Run 819) Snapshot: inkscape-20051124-1320.tar.bz2 Status: finished
Platform Unpack Config Build Install WRNS ERRS ------------------------------------------------------------------------ debian x86 0 0 0 0 4 0
Test Status Score Info ------------------------------------------------------------------------ sut-1 ??
== Errors ==
none
== Warnings ==
display/canvas-arena.cpp:87: warning: invalid access to non-static data member `SPCanvasArenaClass::arena_event' of NULL object display/canvas-arena.cpp:87: warning: (perhaps the `offsetof' macro was used incorrectly) display/sp-canvas.cpp:133: warning: invalid access to non-static data member `SPCanvasItemClass::event' of NULL object display/sp-canvas.cpp:133: warning: (perhaps the `offsetof' macro was used incorrectly)
== Environment Summary ==
----- End forwarded message -----
I assume these are not generated with -Wall? I see many many more warnings when I compile. Especially 'unused parameter' warnings.
Rob. (sorry if anyone got this twice, but i didn't see it go through)
On 11/25/05, Bryce Harrington <bryce@...961...> wrote:
Hey check it out, someone knocked the number of warnings from 7 down to 4! Cool!
Bryce
----- Forwarded message from root <root@...1070...> -----
Date: Thu, 24 Nov 2005 17:21:03 -0800 From: root <root@...1070...> To: inkscape-tester@lists.sourceforge.net Subject: [Inkscape-tester] inkscape build report
= Analysis Report for inkscape = Report Time: Thu Nov 24 15:10:24 2005 (Run 819) Snapshot: inkscape-20051124-1320.tar.bz2 Status: finished
Platform Unpack Config Build Install WRNS ERRS
debian x86 0 0 0 0 4 0
Test Status Score Info
sut-1 ??
== Errors ==
none
== Warnings ==
display/canvas-arena.cpp:87: warning: invalid access to non-static data member `SPCanvasArenaClass::arena_event' of NULL object display/canvas-arena.cpp:87: warning: (perhaps the `offsetof' macro was used incorrectly) display/sp-canvas.cpp:133: warning: invalid access to non-static data member `SPCanvasItemClass::event' of NULL object display/sp-canvas.cpp:133: warning: (perhaps the `offsetof' macro was used incorrectly)
== Environment Summary ==
----- End forwarded message -----
Hi Robert,
Yeah, that's correct, I don't have -Wall set... Do you think I should?
Bryce
On Fri, Nov 25, 2005 at 08:03:41PM -0500, Robert Crosbie wrote:
I assume these are not generated with -Wall? I see many many more warnings when I compile. Especially 'unused parameter' warnings.
Rob. (sorry if anyone got this twice, but i didn't see it go through)
On 11/25/05, Bryce Harrington <bryce@...961...> wrote:
Hey check it out, someone knocked the number of warnings from 7 down to 4! Cool!
Bryce
----- Forwarded message from root <root@...1070...> -----
Date: Thu, 24 Nov 2005 17:21:03 -0800 From: root <root@...1070...> To: inkscape-tester@lists.sourceforge.net Subject: [Inkscape-tester] inkscape build report
= Analysis Report for inkscape = Report Time: Thu Nov 24 15:10:24 2005 (Run 819) Snapshot: inkscape-20051124-1320.tar.bz2 Status: finished
Platform Unpack Config Build Install WRNS ERRS
debian x86 0 0 0 0 4 0
Test Status Score Info
sut-1 ??
== Errors ==
none
== Warnings ==
display/canvas-arena.cpp:87: warning: invalid access to non-static data member `SPCanvasArenaClass::arena_event' of NULL object display/canvas-arena.cpp:87: warning: (perhaps the `offsetof' macro was used incorrectly) display/sp-canvas.cpp:133: warning: invalid access to non-static data member `SPCanvasItemClass::event' of NULL object display/sp-canvas.cpp:133: warning: (perhaps the `offsetof' macro was used incorrectly)
== Environment Summary ==
----- End forwarded message -----
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id%16865&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
It could be enlightening. ;)
You'll see hundreds of additional warnings, but most if not all will be the unused parameter warnings. Some seem to be from placeholder functions, or possibly artifacts from the c++ conversion?
-- Rob. http://woodpendant.com
On 11/26/05, Bryce Harrington <bryce@...961...> wrote:
Hi Robert,
Yeah, that's correct, I don't have -Wall set... Do you think I should?
Bryce
On Fri, Nov 25, 2005 at 08:03:41PM -0500, Robert Crosbie wrote:
I assume these are not generated with -Wall? I see many many more warnings when I compile. Especially 'unused parameter' warnings.
Rob. (sorry if anyone got this twice, but i didn't see it go through)
On 11/25/05, Bryce Harrington <bryce@...961...> wrote:
Hey check it out, someone knocked the number of warnings from 7 down to 4! Cool!
Bryce
----- Forwarded message from root <root@...1070...> -----
Date: Thu, 24 Nov 2005 17:21:03 -0800 From: root <root@...1070...> To: inkscape-tester@lists.sourceforge.net Subject: [Inkscape-tester] inkscape build report
= Analysis Report for inkscape = Report Time: Thu Nov 24 15:10:24 2005 (Run 819) Snapshot: inkscape-20051124-1320.tar.bz2 Status: finished
Platform Unpack Config Build Install WRNS ERRS
debian x86 0 0 0 0 4 0
Test Status Score Info
sut-1 ??
== Errors ==
none
== Warnings ==
display/canvas-arena.cpp:87: warning: invalid access to non-static data member `SPCanvasArenaClass::arena_event' of NULL object display/canvas-arena.cpp:87: warning: (perhaps the `offsetof' macro was used incorrectly) display/sp-canvas.cpp:133: warning: invalid access to non-static data member `SPCanvasItemClass::event' of NULL object display/sp-canvas.cpp:133: warning: (perhaps the `offsetof' macro was used incorrectly)
== Environment Summary ==
----- End forwarded message -----
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id%16865&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Nov 26, 2005, at 7:26 PM, Robert Crosbie wrote:
It could be enlightening. ;)
You'll see hundreds of additional warnings, but most if not all will be the unused parameter warnings.
Then again, those are easy to fix.
Just put a void cast and the param as a first line of the function.
On Sat, 2005-11-26 at 22:02 -0800, Jon A. Cruz wrote:
On Nov 26, 2005, at 7:26 PM, Robert Crosbie wrote:
It could be enlightening. ;)
You'll see hundreds of additional warnings, but most if not all will be the unused parameter warnings.
Then again, those are easy to fix.
Just put a void cast and the param as a first line of the function.
EEEEEEEEEEEEEEEEEEEEEEEEEEK.
Dude, if it's an issue just comment around the parameter name.
-mental
On Nov 26, 2005, at 10:06 PM, MenTaLguY wrote:
On Sat, 2005-11-26 at 22:02 -0800, Jon A. Cruz wrote:
On Nov 26, 2005, at 7:26 PM, Robert Crosbie wrote:
It could be enlightening. ;)
You'll see hundreds of additional warnings, but most if not all will be the unused parameter warnings.
Then again, those are easy to fix.
Just put a void cast and the param as a first line of the function.
EEEEEEEEEEEEEEEEEEEEEEEEEEK.
Dude, if it's an issue just comment around the parameter name.
Actually, for some things that introduces more problems...
Though since we're pure C++, not C, many of those are minimized.
On Sat, 2005-11-26 at 18:06 -0800, Bryce Harrington wrote:
Hi Robert,
Yeah, that's correct, I don't have -Wall set... Do you think I should?
Maybe -Wall minus a few warnings. But we can start with -Wall and see if there are any we should ignore.
-mental
On Fri, Nov 25, 2005 at 08:03:41PM -0500, Robert Crosbie wrote:
I assume these are not generated with -Wall? I see many many more warnings when I compile. Especially 'unused parameter' warnings.
This depends on g++ version: configure.ac adds -Wno-unused-parameter iff that option works on the configured CXX.
Maybe on g++ versions that don't accept -Wno-unused-parameter, we could suppress the warning flag that generates those warnings. (Offhand I'd guess it's `-W'.)
pjrm.
participants (5)
-
Bryce Harrington
-
Jon A. Cruz
-
MenTaLguY
-
Peter Moulder
-
Robert Crosbie