| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 55b4d03 commit f21cf45
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,7 +26,14 @@ | |||
| 26 | 26 | ||
| 27 | 27 | // Decodes a v8::Local<v8::String> or Buffer to a raw char* | |
| 28 | 28 | ||
| 29 | + #if (__GNUC__ >= 8) && !defined(__clang__) | ||
| 30 | + #pragma GCC diagnostic push | ||
| 31 | + #pragma GCC diagnostic ignored "-Wcast-function-type" | ||
| 32 | + #endif | ||
| 29 | 33 | #include "v8.h" | |
| 34 | + #if (__GNUC__ >= 8) && !defined(__clang__) | ||
| 35 | + #pragma GCC diagnostic pop | ||
| 36 | + #endif | ||
| 30 | 37 | #include "env-inl.h" | |
| 31 | 38 | ||
| 32 | 39 | #include <string> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,11 @@ | |||
| 1 | + #if (__GNUC__ >= 8) && !defined(__clang__) | ||
| 2 | + #pragma GCC diagnostic push | ||
| 3 | + #pragma GCC diagnostic ignored "-Wcast-function-type" | ||
| 4 | + #endif | ||
| 1 | 5 | #include "v8.h" | |
| 6 | + #if (__GNUC__ >= 8) && !defined(__clang__) | ||
| 7 | + #pragma GCC diagnostic pop | ||
| 8 | + #endif | ||
| 2 | 9 | #include "aliased_buffer.h" | |
| 3 | 10 | #include "node_test_fixture.h" | |
| 4 | 11 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments