* lib/mkmf.rb (have_type): suppress a warning with -Wall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
899742b269
commit
3322974196
@ -1,7 +1,9 @@
|
|||||||
Fri Aug 3 06:17:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Aug 3 06:40:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]
|
* lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]
|
||||||
|
|
||||||
|
* lib/mkmf.rb (have_type): suppress a warning with -Wall.
|
||||||
|
|
||||||
Fri Aug 3 00:00:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Aug 3 00:00:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* bignum.c (big2str_table): base cannot be 0 or 1.
|
* bignum.c (big2str_table): base cannot be 0 or 1.
|
||||||
|
@ -793,7 +793,7 @@ def have_type(type, headers = nil, opt = "", &b)
|
|||||||
#{headers}
|
#{headers}
|
||||||
/*top*/
|
/*top*/
|
||||||
typedef #{type} conftest_type;
|
typedef #{type} conftest_type;
|
||||||
static conftest_type conftestval[sizeof(conftest_type)?1:-1];
|
int conftestval[sizeof(conftest_type)?1:-1];
|
||||||
SRC
|
SRC
|
||||||
$defs.push(format("-DHAVE_TYPE_%s", type.strip.upcase.tr_s("^A-Z0-9_", "_")))
|
$defs.push(format("-DHAVE_TYPE_%s", type.strip.upcase.tr_s("^A-Z0-9_", "_")))
|
||||||
true
|
true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user