Jump to content

Photo

GCC and Visual Studio error reporting integration

gcc visual studio script integration

1 reply to this topic

#1 dilinger OFFLINE  

dilinger

    Star Raider

  • 66 posts
  • Location:Montreal

Posted Tue Dec 2, 2014 7:47 PM

Hello,
 
For the people using the Windows environement,
 
I've found a Perl script to fix an issue when working with GCC and Visual Studio (2013 Express in my case).
The problem came from the format error reporting between GCC and VS, there are not compatible so we can see the error messages in the VS Output window but we cannot interact with them. So, you have to look manually for the line(s) and file(s) to see the errors.
 
This script takes the output produced by a batch file and converts the error messages. The following line has to be added in the NMake section of your project configuration properties for the :  Build, Rebuild All, and Clean Command Line.
 
build.bat 2>&1 | c:\Perl\bin\perl.exe gccfilt.pl
 
 
The Zip file contains the script and a screen capture from VS.
 
I'm not the author of the script and the original link is here : http://www.codeproje...th-GCC-in-Visua
 
Thanks,

Attached Files



#2 TXG/MNX OFFLINE  

TXG/MNX

    River Patroller

  • 3,637 posts

Posted Wed Dec 3, 2014 6:09 AM

I started to download visual studio express will test this later... Thanx for the info.





Also tagged with one or more of these keywords: gcc, visual studio, script, integration

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users