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

Re: [MiNT] wide-char and g++



On 04/17/13 15:51, Helmut Karlowski wrote:
Jeffrey Armstrong, 17.04.2013 15:16:53:

On Tue, 16 Apr 2013, Alan Hourihane wrote:

 On 04/16/13 21:13, Helmut Karlowski wrote:
What's that __restrict for? cygwin has it also.

Consistency, but read about __restrict here....


I just peeked and saw the "__restrict"'s added to wchar.h. Are you sure they should be included? "__restrict" breaks compiling mintlib with gcc 2.95.

As a simple solution something like

# if __GNUC__ <= 2
# define __restricted
# endif


Yes, I'd prefer that.

Jeff - is that something you can fix ?

I don't have 2.95 currently installed so can't check.

Thanks,

Alan.