GNU bug report logs - #77301
Is this a bug?

Previous Next

Package: grep;

Reported by: George R Goffe <grgoffe <at> yahoo.com>

Date: Thu, 27 Mar 2025 06:33:05 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: George R Goffe <grgoffe <at> yahoo.com>
To: 77301 <at> debbugs.gnu.org
Subject: bug#77301: Is this a bug?
Date: Thu, 27 Mar 2025 06:32:06 +0000 (UTC)
Howdy,

Apparently the gcc folks have been busy, tightening up the "rules". I'm not sure this isn't one so I'm reporting it.

Best regards,

George...

This is output from gcc (GCC) 15.0.1 20250325 (experimental) but the non-experimental version shows the same output.

mv fgrep-t fgrep
pcresearch.c: In function 'Pcompile':
pcresearch.c:222:23: error: initializer-string for array of 'char' is too long [-Werror=unterminated-string-initialization]
  222 |         wprefix[10] = "(?<!\\w)(?:", wsuffix[7] = ")(?!\\w)";
      |                       ^~~~~~~~~~~~~
pcresearch.c:222:51: error: initializer-string for array of 'char' is too long [-Werror=unterminated-string-initialization]
  222 |         wprefix[10] = "(?<!\\w)(?:", wsuffix[7] = ")(?!\\w)";
      |                                                   ^~~~~~~~~~
cc1: all warnings being treated as errors





This bug report was last modified 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.