Commit bbfc46c
authored
Fixed Visual Studio compiler warning (#30)
* Fixed Visual Studio compiler warning
"#pragma GCC" causes warning 4068 "Unknown pragma" when compiling with Visual Studio 2022.
Maybe the condition should be
#if defined(__GNUC__) || defined(__clang__)
instead. Both are used in the other files.
* Fixed Visual Studio compiler warning
Replaced
#if defined(__GNUC__)
by
#if defined(__GNUC__) || defined(__clang__)1 parent b19d1a7 commit bbfc46c
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1311 | 1311 | | |
1312 | 1312 | | |
1313 | 1313 | | |
1314 | | - | |
1315 | | - | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1316 | 1318 | | |
1317 | | - | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1318 | 1322 | | |
1319 | 1323 | | |
1320 | 1324 | | |
| |||
0 commit comments