[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2012-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #10 from leighman  2012-02-28 
10:37:44 PST ---
They are what's needed. Maybe you could ask on the mailing list about somewhere
to host them?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2012-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #9 from Julien Nabet  2012-02-28 10:11:22 PST 
---
(In reply to comment #8)
> scan-build should produce a load of annotated html files as described at
> https://developer.mozilla.org/en/Clang_Static_Analysis
> Do you get them?

Yep but it's very heavy so I had removed them thinking the output would be
sufficient. (perhaps I was wrong :-( )

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2012-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #8 from leighman  2012-02-28 08:27:35 
PST ---
scan-build should produce a load of annotated html files as described at
https://developer.mozilla.org/en/Clang_Static_Analysis
Do you get them?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2012-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #7 from Julien Nabet  2012-02-26 03:52:25 PST 
---
Created attachment 57655
  --> https://bugs.freedesktop.org/attachment.cgi?id=57655
compilation with mozilla

I removed "disable-mozilla" in autogen and compiled with mozilla.
It worked too !
I attached the result of "make" (not "make mozilla" to have the whole result)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2012-02-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #6 from Julien Nabet  2012-02-25 14:42:08 PST 
---
Created attachment 57643
  --> https://bugs.freedesktop.org/attachment.cgi?id=57643
Complete compilation result

I attached the result of the complete compilation of sources from master
updated today.
clang updated and compiled today.

I disabled only mozilla to be sure to have no pb.
Here's the autogen.lastrun
--disable-mozilla
--with-system-boost
--enable-symbols
--enable-ext-barcode
--enable-ext-diagram
--enable-ext-google-docs
--enable-ext-hunart
--enable-ext-languagetool
--enable-ext-nlpsolver
--enable-ext-ct2n
--enable-ext-numbertext
--enable-ext-oooblogger
--enable-ext-pdfimport
--enable-postgresql-sdbc
--enable-ext-presenter-console
--enable-ext-presenter-minimizer
--enable-ext-report-builder
--enable-ext-scripting-beanshell
--enable-ext-scripting-javascript
--enable-ext-typo
--enable-ext-validator
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-dbus
--enable-graphite
--enable-evolution2
--enable-werror
--enable-debug
--enable-dbgutil
--enable-crashdump
--enable-kde4
--enable-dependency-tracking
--enable-online-update

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre2-1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

boost : 1.48

Hope it'll bring some interesting things

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

Andras Timar  changed:

   What|Removed |Added

 AssignedTo|michael.me...@novell.com|libreoffice-b...@lists.free
   ||desktop.org
  Component|Installation|Libreoffice

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2011-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

Michael Meeks  changed:

   What|Removed |Added

 AssignedTo|libreoffice-b...@lists.free |michael.me...@novell.com
   |desktop.org |

--- Comment #2 from Michael Meeks  2011-11-21 
02:57:17 PST ---
Allan - sorry pardon, my fault. ... At least (I hope) that this has got easier
since we did a chunk of fixing to make master compile with clang (though that
may have bit-rotted over the last month of course).

Gosh - your computer crashes ? or the build crashes ?

Also - we could add a parameter --autogen-scan or something to enable that in
autogen.sh - a patch for that would be great. Does: scan_build ./autogen.sh
instead ? [ not sure how that tool works of course ] ?

Anyhow - sorry if you slogged away seemingly endlessly without getting anywhere
here. More information on the crash would be great, and it'd be great to
capture your autogen tweaks in the form of a patch.

Thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39596] [EasyHack] use the CLang++ static analyser to find bugs

2011-11-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39596

--- Comment #1 from Allan Jacobs  2011-11-20 
14:10:45 PST ---
Bjorn is correct about the ease of adding clang.  Making with clang is not an
easy hack.

Suppose  are the arguments used in the absence of scan-build.  The steps
are as follows:
(1) Hack core/autogen.sh so that scan-build './configure ' is run instead
of './configure '. First, change 
my @args;
to
my @args;
push @args, "./configure";

Then, change 
system ("./configure", @args) && die "Error running configure";
to
system ("scan-build", @args) && die "Error running configure";
(2) cd core; sh ./autogen.sh
(3) Instead of running 'make' from the command line, run 'scan-build make'.

On my computer, I can get to step 
(47/157) Building module berkeleydb
... and then my computer crashes.  I'm running with Ubuntu 11.10 on a 4-core
machine with 8 GB of RAM.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs