GNU Octave - Tasks: task #14501, Review #include declarations in...
You are not allowed to post comments on this tracker with your current authentication level.
task #14501: Review #include declarations in code base
Submitter: | Rik <rik5> | ||
Submitted: | Tue 02 May 2017 05:11:17 PM UTC | ||
Should Start On: | Tue 02 May 2017 07:00:00 AM UTC | Should be Finished on: | Tue 01 Aug 2017 07:00:00 AM UTC |
Category: | Wish | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Fixed Release: | None |
Planned Release: | None |
Thu 11 May 2017 06:22:12 PM UTC, comment #3: |
Rik <rik5>![]() |
Thu 11 May 2017 05:53:25 PM UTC, comment #2: Could you show how you generated that list? Is it something that can be added as a Makefile target?
|
John W. Eaton <jwe>![]() |
Tue 09 May 2017 03:49:05 PM UTC, comment #1: I rationalized the #includes in the liboctave/numeric directory. See this cset http://hg.savannah.gnu.org/hgweb/octave/rev/d691ed308237.
|
Rik <rik5>![]() |
Tue 02 May 2017 05:11:17 PM UTC, original submission:
I ran include-what-you-use on the Octave code base to get an idea of which declarations are unnecessary and where we are in fact missing declarations.
|
Rik <rik5>![]() |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-05-09 | rik5 | Attached File | - | ![]() |
Added include.list, #40631 |
Unfortunately, it wasn't very automated.
Steps:
1) make clean
2) make -j1
2a) Use Ctrl+C to stop compilation after gnulib (first target in SUBDIRS) has been built
3) Run make, but substitute include-what-you-use for the actual C++ compiler
4) Postprocess inc.log to extract the interesting bits. I used this Perl script.
5) Further postprocess the include list to remove the repeated elements. I used this Perl script.
As you can see, not that easy.