tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] (no subject) - array[restrict] problem


From: grischka
Subject: Re: [Tinycc-devel] (no subject) - array[restrict] problem
Date: Sat, 04 Apr 2009 15:30:48 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Pedro A ARANDA wrote:
Hi

the current git version of TinyCC chokes at one of my scripts:

address@hidden:~.../Devel$ syncp tinycc_1.0.0-pre2_i386.deb /media/Philips\ 
External\ Hard\ Disk/
In file included from /home/paag/bin/syncp:16:
/usr/include/regex.h:543: identifier expected
address@hidden:~.../Devel$ SciTE /usr/include/regex.h &

The offending line in regex.h is:

extern int regexec (const regex_t *__restrict __preg,
                    const char *__restrict __string, size_t __nmatch,
                    regmatch_t __pmatch[__restrict_arr],
                    int __eflags);


This doesn't happen with Landley's mercurialtcc.

Cheers,/PA


Patch pushed at:
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=d23f7ed32ae7f34deb06de15a169ca61f5a62c5d

--- grischka




reply via email to

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