Created
April 14, 2015 03:46
-
-
Save matthewcummings/5e2be714441cbea325fa to your computer and use it in GitHub Desktop.
ruby-odbc compilation errors
This file contains hidden or 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
********************** | |
* With rubygems 1.8.29: | |
********************** | |
C:/Ruby193/bin/ruby.exe extconf.rb | |
checking for version.h... no | |
checking for sql.h... yes | |
checking for sqlext.h... yes | |
checking for SQLTCHAR in windows.h,sqltypes.h... yes | |
checking for SQLLEN in windows.h,sqltypes.h... yes | |
checking for SQLULEN in windows.h,sqltypes.h... yes | |
checking for odbcinst.h... yes | |
checking for SQLROWOFFSET in windows.h,sqltypes.h... yes | |
checking for odbcinst.h... yes | |
checking for SQLROWSETSIZE in windows.h,sqltypes.h... no | |
checking for odbcinst.h... yes | |
checking for main() in -lodbc32... yes | |
checking for main() in -lodbccp32... yes | |
checking for main() in -luser32... yes | |
creating Makefile | |
make | |
generating odbc-i386-mingw32.def | |
compiling init.c | |
compiling odbc.c | |
odbc.c: In function 'dbc_info': | |
odbc.c:4871:10: warning: implicit declaration of function 'SQLFOREIGNKEYS' | |
linking shared-object odbc.so | |
odbc.o: In function `dbc_info': | |
C:\Ruby193\lib\ruby\gems\1.9.1\gems\ruby-odbc-0.99996\ext/odbc.c:4871: undefined reference to `SQLFO | |
REIGNKEYS' | |
collect2: ld returned 1 exit status | |
make: *** [odbc.so] Error 1 | |
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-odbc-0.99996 for inspect | |
ion. | |
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-odbc-0.99996/ext/gem_make.out | |
********************** | |
* With rubygems 2.4.6; | |
********************** | |
C:\ruby1.9.3devkit>gem install ruby-odbc | |
Temporarily enhancing PATH to include DevKit... | |
Building native extensions. This could take a while... | |
ERROR: Error installing ruby-odbc: | |
ERROR: Failed to build gem native extension. | |
C:/Ruby193/bin/ruby.exe -r ./siteconf20150413-9860-fe3ox6.rb extconf.rb | |
checking for version.h... no | |
checking for sql.h... yes | |
checking for sqlext.h... yes | |
checking for SQLTCHAR in windows.h,sqltypes.h... yes | |
checking for SQLLEN in windows.h,sqltypes.h... yes | |
checking for SQLULEN in windows.h,sqltypes.h... yes | |
checking for odbcinst.h... yes | |
checking for SQLROWOFFSET in windows.h,sqltypes.h... yes | |
checking for odbcinst.h... yes | |
checking for SQLROWSETSIZE in windows.h,sqltypes.h... no | |
checking for odbcinst.h... yes | |
checking for main() in -lodbc32... yes | |
checking for main() in -lodbccp32... yes | |
checking for main() in -luser32... yes | |
creating Makefile | |
make clean | |
Makefile:165: *** target pattern contains no `%'. Stop. | |
make | |
Makefile:165: *** target pattern contains no `%'. Stop. | |
make failed, exit code 2 | |
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-odbc-0.99996 for inspect | |
ion. | |
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/ruby-odbc-0.99996/gem_ | |
make.out | |
********************** | |
* Contents of mkmf.log with rubygems 2.4.6 | |
********************** | |
have_header: checking for version.h... -------------------- no | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: int main(int argc, char **argv) | |
6: { | |
7: return 0; | |
8: } | |
/* end */ | |
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
conftest.c:5:21: fatal error: version.h: No such file or directory | |
compilation terminated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <version.h> | |
/* end */ | |
-------------------- | |
have_header: checking for sql.h... -------------------- yes | |
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <sql.h> | |
/* end */ | |
-------------------- | |
have_header: checking for sqlext.h... -------------------- yes | |
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <sqlext.h> | |
/* end */ | |
-------------------- | |
have_type: checking for SQLTCHAR in windows.h,sqltypes.h... -------------------- yes | |
"gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -march=i486 -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <windows.h> | |
6: #include <sqltypes.h> | |
7: | |
8: /*top*/ | |
9: typedef SQLTCHAR conftest_type; | |
10: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
have_type: checking for SQLLEN in windows.h,sqltypes.h... -------------------- yes | |
"gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -march=i486 -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <windows.h> | |
6: #include <sqltypes.h> | |
7: | |
8: /*top*/ | |
9: typedef SQLLEN conftest_type; | |
10: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
have_type: checking for SQLULEN in windows.h,sqltypes.h... -------------------- yes | |
"gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -march=i486 -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <windows.h> | |
6: #include <sqltypes.h> | |
7: | |
8: /*top*/ | |
9: typedef SQLULEN conftest_type; | |
10: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
have_header: checking for odbcinst.h... -------------------- yes | |
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <odbcinst.h> | |
/* end */ | |
-------------------- | |
have_type: checking for SQLROWOFFSET in windows.h,sqltypes.h... -------------------- yes | |
"gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -march=i486 -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <windows.h> | |
6: #include <sqltypes.h> | |
7: | |
8: /*top*/ | |
9: typedef SQLROWOFFSET conftest_type; | |
10: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
have_header: checking for odbcinst.h... -------------------- yes | |
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <odbcinst.h> | |
/* end */ | |
-------------------- | |
have_type: checking for SQLROWSETSIZE in windows.h,sqltypes.h... -------------------- no | |
"gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -march=i486 -c conftest.c" | |
conftest.c:9:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'conftest_type' | |
conftest.c:10:24: error: 'conftest_type' undeclared here (not in a function) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <windows.h> | |
6: #include <sqltypes.h> | |
7: | |
8: /*top*/ | |
9: typedef SQLROWSETSIZE conftest_type; | |
10: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
have_header: checking for odbcinst.h... -------------------- yes | |
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: #include <odbcinst.h> | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lodbc32... -------------------- yes | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lmsvcrt-ruby191 -lodbc32 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
conftest.c: In function 't': | |
conftest.c:7:53: error: 'main' undeclared (first use in this function) | |
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: | |
6: /*top*/ | |
7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lmsvcrt-ruby191 -lodbc32 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
conftest.c: In function 't': | |
conftest.c:7:1: warning: implicit declaration of function 'main' | |
conftest.c:10:6: warning: 'argc' is used uninitialized in this function | |
conftest.c:7:5: note: 'argc' was declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: | |
6: /*top*/ | |
7: int t() { main(); return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lodbccp32... -------------------- yes | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lodbc32 -lmsvcrt-ruby191 -lodbccp32 -lodbc32 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
conftest.c: In function 't': | |
conftest.c:7:53: error: 'main' undeclared (first use in this function) | |
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: | |
6: /*top*/ | |
7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lodbc32 -lmsvcrt-ruby191 -lodbccp32 -lodbc32 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
conftest.c: In function 't': | |
conftest.c:7:1: warning: implicit declaration of function 'main' | |
conftest.c:10:6: warning: 'argc' is used uninitialized in this function | |
conftest.c:7:5: note: 'argc' was declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: | |
6: /*top*/ | |
7: int t() { main(); return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -luser32... -------------------- yes | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lodbccp32 -lodbc32 -lmsvcrt-ruby191 -luser32 -lodbccp32 -lodbc32 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
conftest.c: In function 't': | |
conftest.c:7:53: error: 'main' undeclared (first use in this function) | |
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: | |
6: /*top*/ | |
7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -march=i486 -lodbccp32 -lodbc32 -lmsvcrt-ruby191 -luser32 -lodbccp32 -lodbc32 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
conftest.c: In function 't': | |
conftest.c:7:1: warning: implicit declaration of function 'main' | |
conftest.c:10:6: warning: 'argc' is used uninitialized in this function | |
conftest.c:7:5: note: 'argc' was declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <winsock2.h> | |
4: #include <windows.h> | |
5: | |
6: /*top*/ | |
7: int t() { main(); return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
-------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment