Report warning instead of error for private struct fields