Home > programming, windows > Converting gcc output to msvc one

Converting gcc output to msvc one

Some time ago I was using Microsoft Visual Studio IDE to compile project with MinGW. Everything was fine except the output of the gcc. When some error or warning was printed to the output console, I was unable to go to source code line with mentioned error/warning by simply clicking it in the output console window.

I created simple ruby script converting gcc errors/warnings output lines into Visual’s compatible one.

The script can be found here.

Usage and sample output you can see in the below screen shot.

Advertisements
Categories: programming, windows Tags: , ,
  1. Mark
    September 16, 2011 at 19:46

    Did you ever get debugging to work with your setup?

    • September 16, 2011 at 20:12

      Not really. I’m terminal geek, so terminal was enough for me to use gdb (or cgdb which is better in terms of visualization). If you want to use IDE, you can try Netbeans (all debugging can be done in it). I was using it for some time, but it was a little bit slow back then (comparing with terminal), maybe it’s better now.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: