From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E6023858D39; Mon, 1 May 2023 20:02:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E6023858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682971360; bh=BIUoCSDbl/MwlMH+hGc9AeqhtnIb0TJRQe0XV6ku26o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Px+9fVGqQFqZYGBoTpZaY9OhaELjQA2mG7SlIpmytLjI0/tvrS4ZtH2sVzwa1ioQW Dj1skDywDUY702hiLFEFgZ5V7PlQzzH7vmqJ4lqvfpV4bx0fbf2kk199EVCVIwzpEt jTs1aRQ1OrBk1TxAaqcI+4MjfS416Tlv5Epi1LJU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1 Date: Mon, 01 May 2023 20:02:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109688 --- Comment #5 from Andrew Pinski --- (In reply to Jamaika from comment #4) > https://github.com/gabime/spdlog/blob/v1.x/example/example.cpp > ``` > for %%f in ("example.cpp") do g++.exe -v -std=3Dgnu++20 -march=3Dx86-64-v2 > -ftree-vectorize -g0 -O3 -fPIC -mavx -mxsave -mpclmul -maes > -DSPDLOG_USE_STD_FORMAT=3D1 -c %%f -o %%~nf.o > ``` That will not work as example.cpp depends on the spdlog headers. PLEASE again have the exact directions on how to test this. Also just like your previous bugs, this is lacking that. Maybe also report = the failure to the developer of spdlog since it is not obvious if it is a libstdc++, C++ front-end bug or just a problem with spdlog. Note saying spdlog works with MSVC does not mean it is still not buggy code= .=