Project

General

Profile

Feature #808 ยป 0018-gnulib-common.m4-Update-to-serial-101.patch

Marko Lindqvist, 08/25/2024 10:32 PM

View differences:

dependencies/m4/gnulib-common.m4
# gnulib-common.m4
# serial 100
# serial 101
dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
......
[[__nodiscard__]] __attribute__ ((__deprecated__)) int bar2 (int);
======================================================================
This gives a syntax error
- in C mode with gcc, and
- in C++ mode with clang++ version < 16.
- in C mode with gcc
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796>, and
- in C++ mode with clang++ version < 16, and
- in C++ mode, inside extern "C" {}, still in newer clang++ versions
<https://github.com/llvm/llvm-project/issues/101990>.
*/
    (1-1/1)