Package: dehydra Version: 0.9.hg20110609-2 Severity: minor dehydra apparently only operates on C++ codebases. I tried using it with a project in plain C that doesn't compile as C++, and got no useful output. I'm not complaining that it doesn't work for C, I mean the program was obviously developed to help with large C++ codebases, firefox in particular. But I do think I was misled by the package description :-)
Here is a minimal illustration in the form of a terminal session. $ cat dumptypes.js function process_type(t) { print("Type found: " + t.name + " location: " + t.loc); } $ cat dumptypes.c typedef int fixed_t; $ gcc -fplugin=gcc_dehydra -fplugin-arg-gcc_dehydra-script=dumptypes.js -o /dev/null -c dumptypes.c $ cp dumptypes.c dumptypes.cc $ gcc -fplugin=gcc_dehydra -fplugin-arg-gcc_dehydra-script=dumptypes.js -o /dev/null -c dumptypes.cc Type found: fixed_t location: dumptypes.cc:1:13 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dehydra depends on: ii gcc-4.6 4.6.1-4 GNU C compiler ii libc6 2.13-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.6.1-4 GCC support library ii libmozjs5d 5.0-3 The Mozilla SpiderMonkey JavaScrip ii libstdc++6 4.6.1-4 GNU Standard C++ Library v3 Versions of packages dehydra recommends: ii g++-4.6 4.6.1-4 GNU C++ compiler dehydra suggests no packages. -- no debconf information -- http://rjy.org.uk/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org