Clickable errors with gcc makefile projects in Visual Studio .Net 2003

| | Comments (0)
I think it's handy to use my favourite IDE Visual Studio .Net 2003 even when I do gcc development. It's quite easy to do a makefile project, and add the relevant paths to the IDE so it can find the necessary binaries for compiling and such. But I found it rather annoying that I don't have clickable errors and warnings since I'm quite used to that (cough lazy cough). How nice there is an easy hack you can do though. Look! Open up cc1.exe (and cc1plus.exe if you use c++) in your favourite hex editor. Then search for the string "%s:%d: " (don't forget the space) and replace with "%s(%d):". Then save the files and you're done.

Leave a comment

About this Entry

This page contains a single entry by Andreas Thorsén published on February 4, 2005 1:46 PM.

STL: Bad Behaviour is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.