473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Visual Studio 2005 - external build, error parsing

I use Visual Studio 2005 for a C-project using an external compiler, and came
up with the idea that error parsing would be neat, i.e. enabling the
functionality
available for a "normal" build where you can double click a compile
error/warning message and be guided to the file/line in question.

Using sed to filter output from the compiler i managed to make the error
output look like the ones generated from the regular compiler, and hooray, it
seemed to work!

However, i found that in some cases double clicking an error message it will
crash the entire Visual Studio framework, and I simply can't figure out why.

Examples:

These two work, and are stable:

V:\ulth_view\gc900xp\cu\scu\c\scu_bas.c(338) : Error C0137 : expression must
be a modifiable lvalue
V:\ulth_view\gc900xp\cu\scu\c\scu_bas.c(333) : Warning C0177-D : variable
"iWontUseThis" was declared but never referenced

While this one is highly unstable:

V:\ulth_extended\gc800ext\CU\cu\scu\c\scu_bas.c(10 01) : Error C0020 :
undeclared identifier "sculog"
I can't see the difference here, so if anyone can i'd be delighted to hear
any theories. If someone inside MS could explain in detail what happens when
you double click somewhere in the output window, it would also be valuable to
me.
I know I'm going a bit outside the scope of Visual Studio here, but when it
is working I find it highly useful, and so would probably others who use this
framework with external compilers.

PS: When writing this, i just realised there's another difference: The ones
that are working are in a single project solution, while the ones that aren't
are in a multi project solution. Perhaps this hasn't got anything to do with
error parsing to do at all, but rather the mechanism for finding a certain
file and focusing on it? I don't know.
Dec 21 '07 #1
0 1969

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
6
by: John | last post by:
Hi, I am working on a C++ project which has been developed with Visual Studio.Net 2003. When I compile it with Visual Studio 2005, it gives hundred of errors. Two of the strange errors are ...
3
by: michael.lang | last post by:
I am using PostBuild events in a C# project to run some tasks, but only when in release configuration mode. The build events run perfectly as expected when run. The problem comes when I save the...
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
6
by: phnimx | last post by:
I'm attempting to migrate a predominately MFC application that I've just inherited from Visual Studio.NET 2003 to Visual Studio 2005. I've managed to clean up a myriad of compile and link errors...
0
by: =?Utf-8?B?Sm9l?= | last post by:
Very weird; I lost a day worth of work because of this problem. I have an ASP.NET application written in VB that is using MySQL database. Shortly, a page creates a Customer record in the database...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.