I can't find anything on this error on Nordic support or Segger support sites. I've looked into the obj directory and only find one main.o file (of course!). Can't see anything in the project file that would cause this problem.
Also, is there a limit on the number of warnings that can occur before the build will fail? I can't find a project setting for this. My code generates 24 warnings.