question

BishopMinter-1198 avatar image
0 Votes"
BishopMinter-1198 asked PengGe-MSFT commented

Getting a different output form in Visual Studio 2019

I'm getting an output from my builds that is different than what I'm used to seeing. I'm thinking I must have accidentally changed a setting somewhere.

This is what my output used to look like:

140904-old-output-window.png


Now it looks like this:

140827-new-output-window.png


c++vs-setup
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How do you know that the warning message isn't valid?

Did you change (or have any included headers change) warnings with the #pragma warning directive?

Did you change project warning level settings? compiler-option-warning-level

And are you posting Output pane images for compilation of the same code?


0 Votes 0 ·

Would the warning message cause me to have a different output format?

I didn't change any of the things you mentioned.

The two images above are for 2 different builds BUT I did run the same build as I did for the first image and got exactly the same output as in image 2. I only used image 2 because I already had a screenshot for it. I only wanted to show you the difference in the formats.

0 Votes 0 ·

Would the warning message cause me to have a different output format?

Its not about formatting. Something has changed to cause that compiler warning to now be issued where you say that it wasn't previously issued. So either the compiler is seeing different code or using different options.

Compare the project settings for a project that builds without warnings/errors to those of the problematic project.



0 Votes 0 ·

Hi, @BishopMinter-1198
May I know whether your issue has been solved or not? If not, please share it in here. We can work together to figure it out.

0 Votes 0 ·

Still working on clearing the warnings. I'll keep you posted.

0 Votes 0 ·

I will wait for your reply, please let me know if you have any updates.

0 Votes 0 ·

1 Answer

PengGe-MSFT avatar image
0 Votes"
PengGe-MSFT answered

Hi, @BishopMinter-1198

Welcome to Microsoft Q&A!

Have you modified some settings of Visual Studio? You can use the /ResetSettings command to start Visual Studio. You can also refer to the warning level

Sincerely,
Peng


If you have extra questions about this answer, please click "Comment". If the answer is the right solution, please click "Accept Answer" and kindly upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.