On Mon May 01 06:47:17 2006, bernhard wrote: > In 'include/parrot/parrot.h' it quite sensibly says: > > /* Only parrot core files should include this file. > Extensions should include <parrot/extend.h>. > Programs embedding parrot should include <parrot/embed.h>. > */ > > However all dynamic PMCs in src/dynpmc and most, if not all, language > PMCs are > also including 'parrot/parrot.h'. > > So the dependencies on symbols not defined in 'extend.h' should go away. >
Attached is a file which shows where we stand with respect to the objectives of this ticket as of today. This is the command I used in my search: find . -type f -a ! -path '*/.svn*' -a ! -path '*/src/pmc*' -a -name '*.pmc' | xargs grep -n 'parrot/parrot.h' If someone could handle src/dynpmc/gdbmhash.pmc, then at least we would have the non-language-specific files taken care of. kid51
./src/dynpmc/gdbmhash.pmc:49:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_character.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_integer.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_pathname.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_array.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_boolean.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_default.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_string.pmc:8:#include "parrot/parrot.h" ./languages/amber/lib/kernel/pmc/amber_table.pmc:8:#include "parrot/parrot.h" ./languages/regex/pmc/matchrange.pmc:34:#include "parrot/parrot.h" ./languages/regex/pmc/match.pmc:26:#include "parrot/parrot.h" ./languages/pugs/pmc/pugscapture.pmc:29:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsmodule.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsany.pmc:23:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsstr.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugstuple.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugscode.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsint.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsbool.pmc:23:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsmapping.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsbit.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsnum.pmc:21:#include "parrot/parrot.h" ./languages/pugs/pmc/pugsundef.pmc:21:#include "parrot/parrot.h" ./languages/WMLScript/pmc/wmlsbytecode.pmc:21:#include "parrot/parrot.h" ./languages/WMLScript/pmc/wmlsboolean.pmc:22:#include "parrot/parrot.h" ./languages/WMLScript/pmc/wmlsfloat.pmc:22:#include "parrot/parrot.h" ./languages/WMLScript/pmc/wmlsinvalid.pmc:22:#include "parrot/parrot.h" ./languages/WMLScript/pmc/wmlsstring.pmc:22:#include "parrot/parrot.h" ./languages/WMLScript/pmc/wmlsinteger.pmc:22:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetfieldmetadata.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/int64.pmc:8:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotneteh.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetbytecode.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetsignature.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetparammetadata.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetmemberrefmetadata.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetclassmetadata.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/uint64.pmc:8:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetassemblyref.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/managedpointer.pmc:8:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnettyperefmetadata.pmc:9:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetassembly.pmc:8:#include "parrot/parrot.h" ./languages/dotnet/pmc/dotnetmethodmetadata.pmc:9:#include "parrot/parrot.h"