I was going through AFNetworking
implementation and I found this
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wassign-enum"
[request setHTTPBody:[NSJSONSerialization dataWithJSONObject:parameters options:0 error:&error]];
#pragma clang diagnostic pop
The assign-enum
warning is obviously being turned off, but I wonder what does it mean.
What is the warning thrown by clang in that case?