-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [windows] fix warning C4068: unknown pragma 'clang'
- Loading branch information
1 parent
7fdc6e5
commit f26cdba
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
// Relative import to be able to reuse the C sources. | ||
// See the comment in ../{projectName}}.podspec for more information. | ||
|
||
// Ignore warning of [-Wdocumentation] of dart_api_dl.h | ||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wdocumentation" | ||
#include "../../src/iris_event.cc" | ||
#pragma clang diagnostic pop | ||
|
||
#include "../../src/iris_life_cycle_observer.mm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
// Relative import to be able to reuse the C sources. | ||
// See the comment in ../{projectName}}.podspec for more information. | ||
|
||
// Ignore warning of [-Wdocumentation] of dart_api_dl.h | ||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wdocumentation" | ||
#include "../../src/iris_event.cc" | ||
#pragma clang diagnostic pop | ||
|
||
#include "../../src/iris_life_cycle_observer.mm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters