No Navigation from Project Make Window
Posted: Fri Jan 20, 2023 11:31 am
Hi Jussi,
I recently upgraded from an old Zeus. In the old version, after a make, I used to be able to double click on warnings and Zeus would switch to the line and window of the warning. Warning were treated like errors. This no longer works. Here are 2 examples
EXAMPLE #1
Here's a warning line from the compiler
.\i_mail.cpp(1325) : warning C4552: '!=' : operator has no effect; expected operator with side-effect
Double clicking does nothing
A similar line that is an error works correctly on a double click
.\i_mail.cpp(1343) : error C2065: 'dfld' : undeclared identifier
EXAMPLE #2
This warning line was generated from adding #pragma message(WARNING_STRING "DEBUG-") to the code. WARNING_STRING is a macro
#define Stringize( L ) #L
#define MakeString( M, L ) M(L)
#define $Line MakeString( Stringize, __LINE__ )
#define WARNING_STRING "Warning: "__FILE__ "(" $Line ")"
The compiler outputs this in response
Warning: .\i_mail.cpp(1327)DEBUG-
Double clicking opens a new tool window call dir *.* /OGN. Previously, it would have taken me to line 1327 of i_mail.cpp
I recently upgraded from an old Zeus. In the old version, after a make, I used to be able to double click on warnings and Zeus would switch to the line and window of the warning. Warning were treated like errors. This no longer works. Here are 2 examples
EXAMPLE #1
Here's a warning line from the compiler
.\i_mail.cpp(1325) : warning C4552: '!=' : operator has no effect; expected operator with side-effect
Double clicking does nothing
A similar line that is an error works correctly on a double click
.\i_mail.cpp(1343) : error C2065: 'dfld' : undeclared identifier
EXAMPLE #2
This warning line was generated from adding #pragma message(WARNING_STRING "DEBUG-") to the code. WARNING_STRING is a macro
#define Stringize( L ) #L
#define MakeString( M, L ) M(L)
#define $Line MakeString( Stringize, __LINE__ )
#define WARNING_STRING "Warning: "__FILE__ "(" $Line ")"
The compiler outputs this in response
Warning: .\i_mail.cpp(1327)DEBUG-
Double clicking opens a new tool window call dir *.* /OGN. Previously, it would have taken me to line 1327 of i_mail.cpp