On Thu, Jul 21, 2005 at 11:30:58AM +0300, Petri Latvala wrote: > On Thu, Jul 21, 2005 at 01:15:55AM -0700, Steve Langasek wrote: > > The best heuristic I can come up with so far is
> > dpkg -x $package tmpdir && \ > > grep -rE '\b(use|class|template)\b|::|#include[[:space:]]+<[a-zA-Z_/]+>' > > tmpdir/usr/include > > That may turn up false positives due to the use of common English words, but > > I can't think of a way it could turn up false negatives. At any rate, > > libGLU is still a false positive by this standard, so it really takes > > someone who understands the ABI stuff to examine the occurrences of these > > terms in each header. > What is this 'use'? C++ doesn't have that as a keyword. Do you mean > 'using'? Sorry, yes. -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature