From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#36036: [Bret Needle] Re: bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el Date: Mon, 14 Oct 2019 23:41:36 +0200 Message-ID: <87imorromn.fsf@gnus.org> References: <4aac050b-1bc6-1e7c-fe5e-e7e531c00871@Yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="3429"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 36036@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 14 23:42:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK86V-0000ie-K2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 23:42:11 +0200 Original-Received: from localhost ([::1]:57972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK86U-00009c-8S for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 17:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36514) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK86N-000065-UU for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 17:42:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK86M-00028f-I7 for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 17:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK86M-00028Y-Ea for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 17:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK86M-000096-BM for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 17:42:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <4aac050b-1bc6-1e7c-fe5e-e7e531c00871@Yahoo.com> Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36036 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 36036-submit@debbugs.gnu.org id=B36036.1571089304525 (code B ref 36036); Mon, 14 Oct 2019 21:42:02 +0000 Original-Received: (at 36036) by debbugs.gnu.org; 14 Oct 2019 21:41:44 +0000 Original-Received: from localhost ([127.0.0.1]:42356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK864-00008O-6o for submit@debbugs.gnu.org; Mon, 14 Oct 2019 17:41:44 -0400 Original-Received: from [80.91.231.51] (port=41542 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK862-00008A-58 for 36036@debbugs.gnu.org; Mon, 14 Oct 2019 17:41:42 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK85x-0004Y4-5R for 36036@debbugs.gnu.org; Mon, 14 Oct 2019 23:41:41 +0200 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169328 Archived-At: -------------------- Start of forwarded message -------------------- Subject: Re: bug#36036: Visual Studio 2019 compiler errors not detected/recognized by compile.el To: Lars Ingebrigtsen From: Bret Needle Date: Sat, 12 Oct 2019 17:58:45 -0700 Hello Lars Ingebrigtsen. Thanks for your follow-up and sorry for the omission.=C2=A0 This message=20 occurs when I compile with the diagnostics setting set to "classic": ClCompile: =C2=A0 C:\Program Files (x86)\Microsoft Visual=20 Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\CL.exe=20 /c /ZI /JMC /nologo /W3 /WX- /diagnostics:classic /sdl /Od /D _DEBUG /D=20 _CONSOLE /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise=20 /Qspectre /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17=20 /Fo"x64\Debug\\" /Fd"x64\Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue=20 Lesson08.cpp =C2=A0 Lesson08.cpp c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08\Lesson08.cpp(9): error C3861: 'bogus':=20 identifier not found [c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj] Done Building Project "c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj" (Rebuild target(s)) --=20 FAILED. Done Building Project "c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08.sln" (rebuild target(s)) -- FAILED. This message occurs when I compile with the diagnostics setting set to=20 "column": ClCompile: =C2=A0 C:\Program Files (x86)\Microsoft Visual=20 Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\CL.exe=20 /c /ZI /JMC /nologo /W3 /WX- /diagnostics:column /sdl /Od /D _DEBUG /D=20 _CONSOLE /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise=20 /Qspectre /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17=20 /Fo"x64\Debug\\" /Fd"x64\Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue=20 Lesson08.cpp =C2=A0 Lesson08.cpp c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08\Lesson08.cpp(9,4): error C3861: 'bogus':=20 identifier not found [c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj] Done Building Project "c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08\Lesson08.vcxproj" (Rebuild target(s)) --=20 FAILED. Done Building Project "c:\Users\Bret\Documents\Visual Studio=20 2019\Projects\Lesson08\Lesson08.sln" (rebuild target(s)) -- FAILED. I encourage you or the bug fixer to implement search patterns that=20 successfully recognize both messages. Regards, Bret Needle On 10/9/2019 4:22 PM, Lars Ingebrigtsen wrote: > Bret Needle 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 -------------------- --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no