# Spurious Warning Errors (Declaration does not declare anything) During Compile in macOS VideoSDK v1.3.3

**URL:** <https://devforum.zoom.us/t/spurious-warning-errors-declaration-does-not-declare-anything-during-compile-in-macos-videosdk-v1-3-3/74605>\
**Category:** Video SDK\
**Created:** [August 21, 2022, 3:13pm UTC](https://devforum.zoom.us/t/spurious-warning-errors-declaration-does-not-declare-anything-during-compile-in-macos-videosdk-v1-3-3/74605 "2022-08-21T15:13:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark\_coniglio](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mark\_coniglio](https://devforum.zoom.us/u/mark_coniglio)\
**Post date:** [August 21, 2022, 3:13pm UTC](https://devforum.zoom.us/t/spurious-warning-errors-declaration-does-not-declare-anything-during-compile-in-macos-videosdk-v1-3-3/74605/1 "2022-08-21T15:13:49Z")

</div>

VideoSDK 1.3.3 - macOS - Spurious Warning Errors During Compile in macOS VideoSDK v1.3.3

When compiling the v1.3.3 Video SDK for macOS, spurious warning errors are generated by the following statements in ZMVideoSDKUserHelper.h

```auto
- (ZMVideoSDKVideoStatus*)getVideoStatus; DEPRECATED_MSG_ATTRIBUTE("Use [ZMVideoSDKRawDataPipe getVideoStatus] instead");
- (ZMVideoSDKShareStatus)getShareStatus; DEPRECATED_MSG_ATTRIBUTE("Use [ZMVideoSDKRawDataPipe getShareStatus] instead");

```

The error shown in Xcode is: “Declaration does not declare anything”

The solution is simple: remove the semicolon before DEPRECATED\_MSG\_ATTRIBUTE as shown below.

```auto
* (ZMVideoSDKVideoStatus*)getVideoStatus DEPRECATED_MSG_ATTRIBUTE(“Use [ZMVideoSDKRawDataPipe getVideoStatus] instead”);
* (ZMVideoSDKShareStatus)getShareStatus DEPRECATED_MSG_ATTRIBUTE(“Use [ZMVideoSDKRawDataPipe getShareStatus] instead”);

```

Then you will get the deprecation warning but not the compile error.
