On 05/24/2015 05:19 AM, Lars Boegild Thomsen wrote:
> On Friday 22 May 2015 09:20:29 Shawn Nock wrote:
>> Will you post the Makefile for the buildroot package?
> 
> Sorry guys, I sorted this one out.  The culprit was actually my added 
> -std=c99 that made lots of other stuff break.  Taking that out it boiled down 
> to a few uses of:
> 
> for (int i = 0; ......

There is also patchless way by adding "-std=gnu99" to CFLAGS (aside from C99 it
enables GNU extensions needed for compiling against uClibc on OpenWrt).

I think it's better approach since you won't need to patch every C99-style loop
initializer in the future.

Ondrej
_______________________________________________
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

Reply via email to