Compiler warnings

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Apr 20 01:53:59 CEST 2013


On 19 Apr 2013, at 19:51, Matthew Newton <mcn4 at LEICESTER.AC.UK> wrote:

> On Sat, Apr 20, 2013 at 12:40:26AM +0100, Matthew Newton wrote:
>> On Fri, Apr 19, 2013 at 04:23:34PM -0400, Arran Cudbard-Bell wrote:
>>> 3.0 is now free of build errors when building under CIT.
> 
>> Sure enough, moving the DIAG_{OFF,ON} to outside the function fixes it.
> 
> Pull request sent, in case it's the right thing to do and it saves
> someone else moving them!


*sigh* it's the only thing we can do.

Works fine for clang GCC 4.6 and GCC 4.8. Thanks for the pull request.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Devel mailing list