Skip to content

Commit 89010a9

Browse files
committed
Compile warnings
1 parent d56a4f5 commit 89010a9

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33

44
# VS code
55
.vscode/*
6-
!.vscode/settings.json
7-
!.vscode/tasks.json
8-
!.vscode/launch.json
9-
!.vscode/extensions.json
6+
.vscode/settings.json
107
*.code-workspace
118

129
# Local History for Visual Studio Code

src/libhelix-aac/aaccommon.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,14 @@
5656
# define AAC_ENABLE_SBR
5757
#endif // HELIX_FEATURE_AUDIO_CODEC_AAC_SBR.
5858

59-
#if !defined(ARDUINO) && defined(__GNUC__)
60-
#pragma GCC diagnostic ignored "-Wstringop-overflow"
59+
#if !defined(ARDUINO)
60+
# if defined(__clang__)
61+
// n/a
62+
# elif defined(__GNUC__) || defined(__GNUG__)
63+
# pragma GCC diagnostic ignored "-Wstringop-overflow"
64+
# elif defined(_MSC_VER)
65+
// n/a
66+
# endif
6167
#endif
6268

6369
#include "aacdec.h"

0 commit comments

Comments
 (0)