Hoping someone here may be able to help. I'm trying to get YouCompleteMe working with a JUCE project but I get loads of errors that should not appear, and do not appear in XCode.
I've posted lots of info up on Stack Overflow: http://stackoverflow.com/questions/27219433/youcompleteme-and-c-diagnostics-inappropriate-errors
Any help much appreciated - been getting into Vim at work and want to use it instead of XCode for my C++ development. XVim is not really doing it for me.
for me YouCompleteMe works great in conjunction with JUCE without the issue you're describing.
I have copied the .ycm_extra_conf.py from my current project to the opensource predecessor for you where YCM also only show's real errors and warnings.
Get it from https://github.com/klangfreund/LUFSMeter . Either YCM works as expected (check your .ycm_extra_conf.py and the folder structure in your project) or it doesn't (Maybe something is broken with your clang).
I'm working on OSX 10.10 with XCode 6.1. Have installed YCM exactly as described in the "Mac OS X super-quick installation" section on https://valloric.github.io/YouCompleteMe/ . Installed CMake with homebrew.