Opened 17 years ago

Last modified 17 years ago

#7 new defect

unneeded symbols exported — at Initial Version

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

Description

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"; done | grep '^1 '

Change History (0)

Note: See TracTickets for help on using tickets.