unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el
@ 2019-05-31 21:00 Bret Needle
  2019-10-09 23:22 ` Lars Ingebrigtsen
  2019-10-14 21:41 ` bug#36036: [Bret Needle] " Lars Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Bret Needle @ 2019-05-31 21:00 UTC (permalink / raw)
  To: 36036

Configuration:

 ?????? GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13

 ?????? Microsoft Visual Studio 2019 (Community Edition)

Bug Behavior:

The default setting of the diagnostic mode option 
(/diagnostic:classic|column|caret) is now column when creating new C++ 
(VC) projects with VS 2019.?? This mode produces compiler error messages 
in the following format:

File name(line number, column number): error message ...

This new format is not recognized by the Microsoft (msft) regular 
expression check in compile.el.

Thanks,

Bret Needle (Bret_Needle@Yahoo.com)






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el
  2019-05-31 21:00 bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el Bret Needle
@ 2019-10-09 23:22 ` Lars Ingebrigtsen
  2019-10-14 21:41 ` bug#36036: [Bret Needle] " Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-09 23:22 UTC (permalink / raw)
  To: Bret Needle; +Cc: 36036

Bret Needle <Bret_Needle@Yahoo.com> writes:

> The default setting of the diagnostic mode option
> (/diagnostic:classic|column|caret) is now column when creating new C++ 
> (VC) projects with VS 2019.?? This mode produces compiler error
> messages in the following format:
>
> File name(line number, column number): error message ...
>
> This new format is not recognized by the Microsoft (msft) regular
> expression check in compile.el.

Do you have some actual sample output from this compiler?  That will
make it easier to check whether a fix actually works.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36036: [Bret Needle] Re: bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el
  2019-05-31 21:00 bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el Bret Needle
  2019-10-09 23:22 ` Lars Ingebrigtsen
@ 2019-10-14 21:41 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14 21:41 UTC (permalink / raw)
  To: 36036


-------------------- Start of forwarded message --------------------
Subject: Re: bug#36036: Visual Studio 2019 compiler errors not
 detected/recognized by compile.el
To: Lars Ingebrigtsen <larsi@gnus.org>
From: Bret Needle <Bret_Needle@Yahoo.com>
Date: Sat, 12 Oct 2019 17:58:45 -0700

Hello Lars Ingebrigtsen.

Thanks for your follow-up and sorry for the omission.  This message 
occurs when I compile with the diagnostics setting set to "classic":

ClCompile:
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\CL.exe 
/c /ZI /JMC /nologo /W3 /WX- /diagnostics:classic /sdl /Od /D _DEBUG /D 
_CONSOLE /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise 
/Qspectre /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17 
/Fo"x64\Debug\\" /Fd"x64\Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue 
Lesson08.cpp
   Lesson08.cpp
c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08\Lesson08.cpp(9): error C3861: 'bogus': 
identifier not found [c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj]
Done Building Project "c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj" (Rebuild target(s)) -- 
FAILED.
Done Building Project "c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08.sln" (rebuild target(s)) -- FAILED.

This message occurs when I compile with the diagnostics setting set to 
"column":

ClCompile:
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\CL.exe 
/c /ZI /JMC /nologo /W3 /WX- /diagnostics:column /sdl /Od /D _DEBUG /D 
_CONSOLE /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise 
/Qspectre /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17 
/Fo"x64\Debug\\" /Fd"x64\Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue 
Lesson08.cpp
   Lesson08.cpp
c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08\Lesson08.cpp(9,4): error C3861: 'bogus': 
identifier not found [c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj]
Done Building Project "c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj" (Rebuild target(s)) -- 
FAILED.
Done Building Project "c:\Users\Bret\Documents\Visual Studio 
2019\Projects\Lesson08\Lesson08.sln" (rebuild target(s)) -- FAILED.

I encourage you or the bug fixer to implement search patterns that 
successfully recognize both messages.

Regards, Bret Needle

On 10/9/2019 4:22 PM, Lars Ingebrigtsen wrote:
> Bret Needle <Bret_Needle@Yahoo.com> writes:
>
>> The default setting of the diagnostic mode option
>> (/diagnostic:classic|column|caret) is now column when creating new C++
>> (VC) projects with VS 2019.?? This mode produces compiler error
>> messages in the following format:
>>
>> File name(line number, column number): error message ...
>>
>> This new format is not recognized by the Microsoft (msft) regular
>> expression check in compile.el.
> Do you have some actual sample output from this compiler?  That will
> make it easier to check whether a fix actually works.
>

-------------------- End of forwarded message --------------------

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-14 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 21:00 bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el Bret Needle
2019-10-09 23:22 ` Lars Ingebrigtsen
2019-10-14 21:41 ` bug#36036: [Bret Needle] " Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).