We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a587180 commit 7d11972Copy full SHA for 7d11972
src/Compiler.php
@@ -1315,9 +1315,9 @@ public function getGccFlags(bool $development = false): string
1315
if (false === $development) {
1316
$gccVersion = $this->getGccVersion();
1317
if (version_compare($gccVersion, '4.6.0', '>=')) {
1318
- $gccFlags = '-O2 -fvisibility=hidden -Wparentheses -flto -DZEPHIR_RELEASE=1';
+ $gccFlags = '-O2 -Wno-incompatible-pointer-types -fvisibility=hidden -Wparentheses -flto -DZEPHIR_RELEASE=1';
1319
} else {
1320
- $gccFlags = '-O2 -fvisibility=hidden -Wparentheses -DZEPHIR_RELEASE=1';
+ $gccFlags = '-O2 -Wno-incompatible-pointer-types -fvisibility=hidden -Wparentheses -DZEPHIR_RELEASE=1';
1321
}
1322
1323
$gccFlags = '-O0 -g3';
0 commit comments