thestk / rtaudio

A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO, and WASAPI) operating systems.
Other
1.49k stars 318 forks source link

vscode c++ run code analysis, "CFAvailability.h" on macos #347

Closed shemeshg closed 2 years ago

shemeshg commented 2 years ago

Hi

Not sure it is a RtAudio error (Most likely not), but how do I suppress the warning caused by RtAudio.cpp running the

I get this warning by running the Analysis->ClangTidy in QtCreator also.

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFAvailability.h

non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators?
expanded from macro 'CF_ENUM'
expanded from macro '__CF_ENUM_GET_MACRO'
expanded from macro '__CF_NAMED_ENUM'
garyscavone commented 2 years ago

Closing ... doesn't seem to be an RtAudio issue.