bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compilation error in glob.c with gcc 4.8


From: Reuben Thomas
Subject: Compilation error in glob.c with gcc 4.8
Date: Fri, 17 Aug 2018 17:57:07 +0100

I'm getting the following error on Ubuntu 14.04 with gcc 4.8, current gnulib:

In file included from ./scratch_buffer.h:4:0,
from glob.c:81:
./malloc/scratch_buffer.h:95:1: warning: return type defaults to ‘int’ [enabled by default]
libc_hidden_proto (__libc_scratch_buffer_grow)
^
./malloc/scratch_buffer.h: In function ‘libc_hidden_proto’:
./malloc/scratch_buffer.h:100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
./malloc/scratch_buffer.h:107:1: error: expected declaration specifiers before ‘libc_hidden_proto’
libc_hidden_proto (__libc_scratch_buffer_grow_preserve)
^
--
https://rrt.sc3d.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]