This hit the gtk-perl list, and looks really damn useful for all XS developers. I'm certainly going to give it a whirl, because xsubpp error reporting is Broken and Wrong, currently.
I'm hoping mutt will DTRT with forwarding the .patch attachment. /joel ----- Forwarded message from muppet <[EMAIL PROTECTED]> ----- >From joel Thu Jun 12 15:30:11 2003 Envelope-to: [EMAIL PROTECTED] Subject: xsubpp patch From: "muppet" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.12 List-Help: <mailto:[EMAIL PROTECTED]> List-Post: <mailto:[EMAIL PROTECTED]> List-Subscribe: <http://mail.gnome.org/mailman/listinfo/gtk-perl-list>, <mailto:[EMAIL PROTECTED]> List-Id: Using GTK+ with Perl <gtk-perl-list.gnome.org> List-Unsubscribe: <http://mail.gnome.org/mailman/listinfo/gtk-perl-list>, <mailto:[EMAIL PROTECTED]> List-Archive: <http://mail.gnome.org/archives/gtk-perl-list/> for you XS developers... i find this patch for xsubpp rather useful --- it changes the error output format to a more standard style, so that vim/emacs/YourFavoriteIde can parse the message and take you to the line... and also leaves the directory component in the filename, so that the #line directives in the generated C file can actually take you to the correct file when the xs files aren't in the directory from which you compile (as is the case for Gtk2 and Gnome2). the patch is very small and doesn't seem to break anything. i've been using it all day, and the rainy day has seemed much happier already. you have to patch the copy of xsubpp residing in the system perl library, because MakeMaker generates code that calls it by the full path. -- muppet <scott at asofyet dot org> ----- End forwarded message -----