mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-13 12:39:22 +08:00
GCC commit r15-5326-gf242f79b8afe defaults to -std=gnu23, and in C23 void foo() means void foo(void), so old-style prototypes now get a compilation error: /x/libgloss/cris/lcrt0.c:107:1: error: conflicting types for 'start1';\ have 'void(int, char **, char **)' 107 | start1 (int argc, char **argv, char **env) | ^~~~~~ /x/libgloss/cris/lcrt0.c:105:13: note: previous declaration of 'start1\ ' with type 'void(void)' 105 | static void start1 () __asm__ ("__start1") __attribute ((__use\ d__)); Fix by providing a full prototype.