Home

Awesome

gccfilter

Introduction

This version of gccfilter is a derived work from Emmanuel Le Trong's gccfilter project.

Description

Here follows the original description from Emmanuel Le Trong manu@mixtion.org.

gccfilter is a perl filter to colorize and simplify (or expand) gcc diagnostic messages.

gccfilter is particularly aimed at g++ (i.e. dealinging with C++) messages which can contain lot of template-related errors or warnings difficult to sort out.

Features:

There exists a somewhat similar tool colorgcc. However it seems to be unmaintained for years now and does only coloring.

Note that the script relies on several perl modules, namely:

So far it also requires perl version 5.9.4 or above (for the "state" keyword). If it's really a problem, let me know, i'll use a closure instead.

Author

Emmanuel Le Trong, manu@mixtion.org

Usage

Clone repo, grab gccfilter script and put it somewhere in your $PATH.

The man page is integrated in the file (type gccfilter -m). An original man page is available in HTML, but it is slightly outdated.