mirror of
https://github.com/curl/curl.git
synced 2026-07-24 10:57:16 +03:00
parent
31add10322
commit
51f813308e
10 changed files with 22 additions and 22 deletions
4
.github/scripts/verify-examples.pl
vendored
4
.github/scripts/verify-examples.pl
vendored
|
|
@ -37,12 +37,12 @@ if(!@files || $files[0] eq "-h") {
|
|||
}
|
||||
|
||||
sub testcompile {
|
||||
my $rc = system("gcc -c test.c -I include -W -Wall -pedantic -Werror -Wno-unused-parameter -Wno-unused-but-set-variable -DCURL_ALLOW_OLD_MULTI_SOCKET -DCURL_DISABLE_DEPRECATION") >> 8;
|
||||
my $rc = system('gcc -c test.c -I include -W -Wall -pedantic -Werror -Wno-unused-parameter -Wno-unused-but-set-variable -DCURL_ALLOW_OLD_MULTI_SOCKET -DCURL_DISABLE_DEPRECATION') >> 8;
|
||||
return $rc;
|
||||
}
|
||||
|
||||
sub checksrc {
|
||||
my $rc = system("$check test.c") >> 8;
|
||||
my $rc = system($check, ('test.c')) >> 8;
|
||||
return $rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue