formatting of C++ compiler error messages

We use an sln2005 runner to compile our C++/C# code. It works fine but
format of error log is very inconvenient.

1. Important messages log doesn't contain name of the file where error
happened. For example:

[Target "Rebuild" in project "a1.sln"] Target
"A1Client\World\GameMechanics:Rebuild" in project "a1.sln" (8s)
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"]
unknown character '0x40'
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"] '$'
: is not a member of 'Weak' [Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"] unknown character '0x40' [Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"] left of '->SendCmd' must point to class/struct/union/generic type [Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"] 'Lock': identifier not found so we are obliged to look in "all messages log". Last lines of "all messages log" contain name of the file, but without relative path: .\GameMechanics.cpp(24): error C2018: unknown character '0x40' .\GameMechanics.cpp(24): error C2039: '$' : is not a member of 'Weak' .\GameMechanics.cpp(24): error C2018: unknown character '0x40' .\GameMechanics.cpp(24): error C2227: left of '->]]>SendCmd' must point to class/struct/union/generic type
.\GameMechanics.cpp(24): error C3861: 'Lock': identifier not found

so it's difficult to find the file just looking at the end of "all
messages log". As a result we should search in the middle of "all
messages log" and this is very inconvenient because the log is
overflowed by trace messages.

2. It would be excellent If I could just click on the name of file with
error and have it opened in IDE (similar to "Changes" functionality).

Vitaly Berov

1 comment
Comment actions Permalink

Hello Vitaly,

Thank you. Could you please post the request(or two) to JIRA.

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

We use an sln2005 runner to compile our C++/C# code. It works fine but
format of error log is very inconvenient.

1. Important messages log doesn't contain name of the file where error
happened. For example:

[Target "Rebuild" in project "a1.sln"] Target
"A1Client\World\GameMechanics:Rebuild" in project "a1.sln" (8s)
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"]
unknown character '0x40'
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"]
'$'
: is not a member of 'Weak<TRefCounted>'
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"]
unknown character '0x40'
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"]
left
of '->SendCmd' must point to class/struct/union/generic type
[Target "A1Client\World\GameMechanics:Rebuild" in project "a1.sln"]
'Lock': identifier not found
so we are obliged to look in "all messages log". Last lines of "all
messages log" contain name of the file, but without relative path:

.\GameMechanics.cpp(24): error C2018: unknown character '0x40'
.\GameMechanics.cpp(24): error C2039: '$' : is not a member of
'Weak<TRefCounted>' .\GameMechanics.cpp(24): error C2018: unknown
character '0x40' .\GameMechanics.cpp(24): error C2227: left of
'->SendCmd' must point to class/struct/union/generic type
.\GameMechanics.cpp(24): error C3861: 'Lock': identifier not found

so it's difficult to find the file just looking at the end of "all
messages log". As a result we should search in the middle of "all
messages log" and this is very inconvenient because the log is
overflowed by trace messages.

2. It would be excellent If I could just click on the name of file
with error and have it opened in IDE (similar to "Changes"
functionality).

Vitaly Berov



0

Please sign in to leave a comment.