Opened 9 years ago

Last modified 9 years ago

#7 new defect

unneeded symbols exported

Reported by: sam Owned by: sam
Priority: major Milestone: 1.0
Component: abuse Version: SVN
Keywords: Cc:

Description (last modified by sam)

There are many global symbols that should not be exported because they aren't used outside their .cpp file.

To generate a list I do:

 % for x in **/*.o ; do nm $x >| $x.sym ; done
 % grep ' T ' **/*sym | cut -f3 -d' ' | while read i ; do N=$(grep $i **/*sym | wc -l); echo "$N $i  ($(c++filt $i))"; done | grep '^1 '

Change History (1)

comment:1 Changed 9 years ago by sam

  • Description modified (diff)
Note: See TracTickets for help on using tickets.