From nobody Sat Jul 20 07:40:55 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WQz491pn5z5R95n for ; Sat, 20 Jul 2024 07:40:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQz486XTHz4Wwp for ; Sat, 20 Jul 2024 07:40:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721461256; a=rsa-sha256; cv=none; b=SBVQcO89Qk2fxqiH2biG99LJeiQRs7HveN80Cm7EjYSjR4a8ou4hmLKOC+11KK4MU+Hq2G vfnU1zujCnwRIbRmC0xXpNFEpv+Xokk/fPfRkmQfWANdMkvUriZBZq/1vwCvICgCXy1Vt/ c+5/aqlWyi0ifeicQbfL+zR6UozeILmfY7KlCHmgaEBdJq8fr1G6YdsdJZUSfBrzRyrcqH EaceMZqhkjcKKjlA4tpC5ggHkNO/JEDKwuOgC1FTCtzQ0yCnPYK1Ju32+pnfrOP5BjyHWr bMHOxBtTgnsQQzkhZLLtMv07ZJKYJgSx65u3lyX4lCwRebr22cyP3NtucTsHxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721461256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EAmQN5QBfFEADMgnT67nmj0Td2py/lLHCr7k/bGzgJ4=; b=N2jCdu2KUnJ8yEfImIXk4mOetDlguFAarzf9v8pdZvMs5kTDkCSer+VpzxH/5utD0zgF2m M8rfvwQtT+5ogcdO4GP8A1+Ulbyx55NOZ4NAJrfK4OuASkqSeU9xbHqpsaZ3GMk39pfSKo +TYC+5rnDZ7ba9+daLIx1v3vJL/5EoYK9eYyopHwf6fZAS1po4vGFjaPI2RGaWHWD6b4qg jvyJMkxHpzmHDNGs2/1osPHJd4MSZrv0A1B1DyO+JJCttA+Q/yI0xok4uxfBHyBKNlMpMx aVd8uSCNbtf0U9YkraYWqg6r20RWxZomPoEB+QVjm3EDvuS4qwO5l75nNy4jMg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WQz4862cLz16yR for ; Sat, 20 Jul 2024 07:40:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46K7eu0m077849 for ; Sat, 20 Jul 2024 07:40:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46K7euWm077838 for bugs@FreeBSD.org; Sat, 20 Jul 2024 07:40:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280382] '#include ' fails when -std=c99 and -pedantic-errors options are specified (found on the multimedia/librist port) Date: Sat, 20 Jul 2024 07:40:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280382 Bug ID: 280382 Summary: '#include ' fails when -std=3Dc99 and -pedantic-errors options are specified (found on the multimedia/librist port) Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org When '#include ' is compiled with '-pedantic -pedantic-errors -std=3Dc++98' it fails: In file included from x.cpp:4: In file included from /usr/include/c++/v1/algorithm:1787: In file included from /usr/include/c++/v1/__algorithm/adjacent_find.h:14: /usr/include/c++/v1/__algorithm/iterator_operations.h:105:9: error: too many arguments provided to function-like macro invocation 105 | "It looks like your iterator's `iterator_traits::refere= nce` does not match the return type of " | ^ etc etc Based on https://en.cppreference.com/w/cpp/header/algorithm exi= sted in the c++98 standard, so such include should compile fine. --=20 You are receiving this mail because: You are the assignee for the bug.=