AFNetworking/AFNetworking — Issue #240: compile issues in AFJSONUtilities.m when _AFNETWORKING_PREFER_NSJSONSERIALIZATION_ is defined
Author: eikemeier
Created: 2012-03-09 11:29:41+00:00
State: open

AFJSONUtilities.m defines two labels _af_nsjson_encode:" and "_af_nsjson_decode:" followed by a declaration "NSInvocation *invocation". This is not legal C, a label can only be part of a statement (6.8.1 Labeled statements: ).

Fix: Follow the labels by the empty statement ";".