Opened 16 years ago

Last modified 16 years ago

#7 new defect

unneeded symbols exported

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

Description (last modified by Sam Hocevar)

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 16 years ago by Sam Hocevar

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