composite_primary_keys 12.0.1 → 12.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.rdoc +16 -0
- data/lib/composite_primary_keys/base.rb +1 -1
- data/lib/composite_primary_keys/composite_arrays.rb +50 -7
- data/lib/composite_primary_keys/connection_adapters/abstract_adapter.rb +1 -1
- data/lib/composite_primary_keys/connection_adapters/sqlserver/database_statements.rb +1 -1
- data/lib/composite_primary_keys/persistence.rb +1 -1
- data/lib/composite_primary_keys/relation/finder_methods.rb +5 -5
- data/lib/composite_primary_keys/validations/uniqueness.rb +1 -1
- data/lib/composite_primary_keys/version.rb +1 -1
- data/test/abstract_unit.rb +3 -6
- data/test/test_composite_arrays.rb +14 -0
- data/test/test_find.rb +8 -0
- data/test/test_ids.rb +3 -0
- metadata +4 -48
- data/test/mkmf.log +0 -592
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50263520fdb0be5f5bc2828aca6b130603ea4e31548efbe373505db324cf1c54
|
4
|
+
data.tar.gz: c1511083ac64af445eceddf5b89e803a247bc3585db25f85b5c7befef89c6432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb036105bb0b8302dbbc5850641197bf7b158a8a2af5b366cf645abf6ffa97790eb5bca350e49475960ba92a1280ef6d7641552c6f58b79202540614a59ed72
|
7
|
+
data.tar.gz: 4d10a81f280b21611f39cb316f02c21f7a07636fecc379668e6639f776125cc9f7f015c7a4be876f3cedeb7d85788e6088cab1be29ec0be48ca40567a52fdd16
|
data/History.rdoc
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
== 12.0.2 (2020-05-19)
|
2
|
+
* Remove deprecation warning for Ruby 2.7 due to keyword parameters (Alexandru Anca )
|
3
|
+
* Use sqlite for default in tests (Charlie Savage)
|
4
|
+
* Modernize gem tests by using Bundler (Charlie Savage)
|
5
|
+
* Update travis for ruby 2.7 (Charlie Savage)
|
6
|
+
* Port "Fix create record where one or more of the primary keys has a default value" from ar 5.2 branch (Charlie Savage)
|
7
|
+
* Remove extra argument from sql_for_insert for SqlServer (tohae)
|
8
|
+
|
1
9
|
== 12.0.1 (2019-11-25)
|
2
10
|
* Convert attribute names to strings before checking for them in has_attribute? (Daniel de Haas)
|
3
11
|
* Update the comment referring to the overridden Rails code (Daniel de Haas)
|
@@ -6,6 +14,14 @@
|
|
6
14
|
* Update to ActiveRecord 6.0 (Hiroshi Kajisha, Alexandru Anca, Charlie Savage, Sammy Larbi)
|
7
15
|
* Update travis setup (Olle Jonsson, Charlie Savage)
|
8
16
|
|
17
|
+
==11.3.1 (2020-04-01)¶ ↑
|
18
|
+
* Fix overriding AbstractReflection for activerecord 5.2.4 (Sergey Semyonov)
|
19
|
+
* Fix handling CPK with fields containing comma (Sergey Semyonov)
|
20
|
+
* Fixed incorrect SQL condition for joining by CPK (Sergey Semyonov)
|
21
|
+
* Update travis.yml file (Sergey Semyonov)
|
22
|
+
* Add tests for composite keys with default values (Daniel Wiklund)
|
23
|
+
* Fix create record where one or more of the primary keys has a default value (Daniel Wiklund)
|
24
|
+
|
9
25
|
== 11.2.0 (2019-03-16)
|
10
26
|
* When creating new records, honor composite key autoincrementing fields if possible (Antti Pitkänen)
|
11
27
|
* Update Association#run to more closely match ActiveRecord (Fabian Mersch)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
module CompositePrimaryKeys
|
2
2
|
ID_SEP = ','
|
3
3
|
ID_SET_SEP = ';'
|
4
|
+
ESCAPE_CHAR = '^'
|
4
5
|
|
5
6
|
module ArrayExtension
|
6
7
|
def to_composite_keys
|
@@ -8,12 +9,27 @@ module CompositePrimaryKeys
|
|
8
9
|
end
|
9
10
|
end
|
10
11
|
|
11
|
-
|
12
|
+
# Convert mixed representation of CPKs (by strings or arrays) to normalized
|
13
|
+
# representation (just by arrays).
|
14
|
+
#
|
15
|
+
# `ids` is Array that may contain:
|
16
|
+
# 1. A CPK represented by an array or a string.
|
17
|
+
# 2. An array of CPKs represented by arrays or strings.
|
18
|
+
#
|
19
|
+
# There is an issue. Let `ids` contain an array with serveral strings. We can't distinguish case 1
|
20
|
+
# from case 2 there in general. E.g. the item can be an array containing appropriate number of strings,
|
21
|
+
# and each string can contain appropriate number of commas. We consider case 2 to win there.
|
22
|
+
def self.normalize(ids, cpk_size)
|
12
23
|
ids.map do |id|
|
13
|
-
if id.
|
14
|
-
|
15
|
-
|
16
|
-
|
24
|
+
if Utils.cpk_as_array?(id, cpk_size) && id.any? { |item| !Utils.cpk_as_string?(item, cpk_size) }
|
25
|
+
# CPK as an array - case 1
|
26
|
+
id
|
27
|
+
elsif id.is_a?(Array)
|
28
|
+
# An array of CPKs - case 2
|
29
|
+
normalize(id, cpk_size)
|
30
|
+
elsif id.is_a?(String)
|
31
|
+
# CPK as a string - case 1
|
32
|
+
CompositeKeys.parse(id)
|
17
33
|
else
|
18
34
|
id
|
19
35
|
end
|
@@ -27,7 +43,7 @@ module CompositePrimaryKeys
|
|
27
43
|
when Array
|
28
44
|
value.to_composite_keys
|
29
45
|
when String
|
30
|
-
|
46
|
+
value.split(ID_SEP).map { |key| Utils.unescape_string_key(key) }.to_composite_keys
|
31
47
|
else
|
32
48
|
raise(ArgumentError, "Unsupported type: #{value}")
|
33
49
|
end
|
@@ -43,9 +59,36 @@ module CompositePrimaryKeys
|
|
43
59
|
|
44
60
|
def to_s
|
45
61
|
# Doing this makes it easier to parse Base#[](attr_name)
|
46
|
-
join(ID_SEP)
|
62
|
+
map { |key| Utils.escape_string_key(key.to_s) }.join(ID_SEP)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
module Utils
|
67
|
+
class << self
|
68
|
+
def escape_string_key(key)
|
69
|
+
key.gsub(Regexp.union(ESCAPE_CHAR, ID_SEP)) do |unsafe|
|
70
|
+
"#{ESCAPE_CHAR}#{unsafe.ord.to_s(16).upcase}"
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
def unescape_string_key(key)
|
75
|
+
key.gsub(/#{Regexp.escape(ESCAPE_CHAR)}[0-9a-fA-F]{2}/) do |escaped|
|
76
|
+
char = escaped.slice(1, 2).hex.chr
|
77
|
+
(char == ESCAPE_CHAR || char == ID_SEP) ? char : escaped
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def cpk_as_array?(value, pk_size)
|
82
|
+
# We don't permit Array to be an element of CPK.
|
83
|
+
value.is_a?(Array) && value.size == pk_size && value.none? { |item| item.is_a?(Array) }
|
84
|
+
end
|
85
|
+
|
86
|
+
def cpk_as_string?(value, pk_size)
|
87
|
+
value.is_a?(String) && value.count(ID_SEP) == pk_size - 1
|
88
|
+
end
|
47
89
|
end
|
48
90
|
end
|
91
|
+
private_constant :Utils
|
49
92
|
end
|
50
93
|
|
51
94
|
Array.send(:include, CompositePrimaryKeys::ArrayExtension)
|
@@ -2,7 +2,7 @@ module ActiveRecord
|
|
2
2
|
module ConnectionAdapters
|
3
3
|
module SQLServer
|
4
4
|
module DatabaseStatements
|
5
|
-
def sql_for_insert(sql, pk,
|
5
|
+
def sql_for_insert(sql, pk, binds)
|
6
6
|
sql = if pk && self.class.use_output_inserted
|
7
7
|
# CPK
|
8
8
|
# quoted_pk = SQLServer::Utils.extract_identifiers(pk).quoted
|
@@ -83,7 +83,7 @@ module CompositePrimaryKeys
|
|
83
83
|
|
84
84
|
# CPK
|
85
85
|
# expects_array = ids.first.kind_of?(Array)
|
86
|
-
ids = CompositePrimaryKeys.normalize(ids)
|
86
|
+
ids = CompositePrimaryKeys.normalize(ids, @klass.primary_keys.length)
|
87
87
|
expects_array = ids.flatten != ids.flatten(1)
|
88
88
|
return ids.first if expects_array && ids.first.empty?
|
89
89
|
|
@@ -154,10 +154,10 @@ module CompositePrimaryKeys
|
|
154
154
|
# CPK
|
155
155
|
if composite?
|
156
156
|
ids = if ids.length == 1
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
157
|
+
CompositePrimaryKeys::CompositeKeys.parse(ids.first)
|
158
|
+
else
|
159
|
+
ids.to_composite_keys
|
160
|
+
end
|
161
161
|
end
|
162
162
|
|
163
163
|
return find_some_ordered(ids) unless order_values.present?
|
@@ -24,7 +24,7 @@ module ActiveRecord
|
|
24
24
|
error_options = options.except(:case_sensitive, :scope, :conditions)
|
25
25
|
error_options[:value] = value
|
26
26
|
|
27
|
-
record.errors.add(attribute, :taken, error_options)
|
27
|
+
record.errors.add(attribute, :taken, **error_options)
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
data/test/abstract_unit.rb
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
spec_name = ENV['ADAPTER'] || 'sqlite'
|
2
|
-
require 'bundler'
|
3
|
-
|
2
|
+
require 'bundler/setup'
|
3
|
+
require 'minitest/autorun'
|
4
4
|
|
5
|
-
|
6
|
-
$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
|
5
|
+
Bundler.require(:default, spec_name.to_sym)
|
7
6
|
require 'composite_primary_keys'
|
8
|
-
require 'minitest/autorun'
|
9
|
-
require 'active_support/test_case'
|
10
7
|
|
11
8
|
# Require the connection spec
|
12
9
|
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
@@ -21,4 +21,18 @@ class CompositeArraysTest < ActiveSupport::TestCase
|
|
21
21
|
assert_equal CompositePrimaryKeys::CompositeKeys, keys.class
|
22
22
|
assert_equal '1,2,3', keys.to_s
|
23
23
|
end
|
24
|
+
|
25
|
+
def test_parse
|
26
|
+
assert_equal ['1', '2'], CompositePrimaryKeys::CompositeKeys.parse('1,2')
|
27
|
+
assert_equal ['The USA', '^Washington, D.C.'],
|
28
|
+
CompositePrimaryKeys::CompositeKeys.parse('The USA,^5EWashington^2C D.C.')
|
29
|
+
assert_equal ['The USA', '^Washington, D.C.'],
|
30
|
+
CompositePrimaryKeys::CompositeKeys.parse(['The USA', '^Washington, D.C.'])
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_to_s
|
34
|
+
assert_equal '1,2', CompositePrimaryKeys::CompositeKeys.new([1, 2]).to_s
|
35
|
+
assert_equal 'The USA,^5EWashington^2C D.C.',
|
36
|
+
CompositePrimaryKeys::CompositeKeys.new(['The USA', '^Washington, D.C.']).to_s
|
37
|
+
end
|
24
38
|
end
|
data/test/test_find.rb
CHANGED
@@ -41,6 +41,14 @@ class TestFind < ActiveSupport::TestCase
|
|
41
41
|
assert_equal(['The Netherlands', 'Amsterdam'], capitol.id)
|
42
42
|
end
|
43
43
|
|
44
|
+
def test_find_with_strings_with_comma_as_composite_keys
|
45
|
+
capitol = Capitol.create!(country: 'The USA', city: 'Washington, D.C.')
|
46
|
+
assert_equal ['The USA', 'Washington, D.C.'], capitol.id
|
47
|
+
|
48
|
+
assert_equal capitol, Capitol.find(['The USA', 'Washington, D.C.'])
|
49
|
+
assert_equal capitol, Capitol.find(capitol.to_param)
|
50
|
+
end
|
51
|
+
|
44
52
|
def test_find_each
|
45
53
|
room_assignments = []
|
46
54
|
RoomAssignment.find_each(:batch_size => 2) do |assignment|
|
data/test/test_ids.rb
CHANGED
@@ -40,6 +40,9 @@ class TestIds < ActiveSupport::TestCase
|
|
40
40
|
testing_with do
|
41
41
|
assert_equal '1,1', @first.to_param if composite?
|
42
42
|
end
|
43
|
+
|
44
|
+
capitol = Capitol.create!(country: 'The USA', city: 'Washington, D.C.')
|
45
|
+
assert_equal 'The USA,Washington^2C D.C.', capitol.to_param
|
43
46
|
end
|
44
47
|
|
45
48
|
def test_ids_to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: composite_primary_keys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.
|
4
|
+
version: 12.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -38,48 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: mysql2
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: sqlite3
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: pg
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
41
|
description: Composite key support for ActiveRecord
|
84
42
|
email:
|
85
43
|
executables: []
|
@@ -216,7 +174,6 @@ files:
|
|
216
174
|
- test/fixtures/topics.yml
|
217
175
|
- test/fixtures/user.rb
|
218
176
|
- test/fixtures/users.yml
|
219
|
-
- test/mkmf.log
|
220
177
|
- test/plugins/pagination.rb
|
221
178
|
- test/plugins/pagination_helper.rb
|
222
179
|
- test/test_aliases.rb
|
@@ -263,20 +220,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
263
220
|
requirements:
|
264
221
|
- - ">="
|
265
222
|
- !ruby/object:Gem::Version
|
266
|
-
version: 2.
|
223
|
+
version: 2.5.0
|
267
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
225
|
requirements:
|
269
226
|
- - ">="
|
270
227
|
- !ruby/object:Gem::Version
|
271
228
|
version: '0'
|
272
229
|
requirements: []
|
273
|
-
rubygems_version: 3.
|
230
|
+
rubygems_version: 3.1.2
|
274
231
|
signing_key:
|
275
232
|
specification_version: 4
|
276
233
|
summary: Composite key support for ActiveRecord
|
277
234
|
test_files:
|
278
235
|
- test/abstract_unit.rb
|
279
|
-
- test/mkmf.log
|
280
236
|
- test/README_tests.rdoc
|
281
237
|
- test/test_aliases.rb
|
282
238
|
- test/test_associations.rb
|
data/test/mkmf.log
DELETED
@@ -1,592 +0,0 @@
|
|
1
|
-
have_func: checking for rb_absint_size()... -------------------- yes
|
2
|
-
|
3
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L. -L/ming64/lib -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
4
|
-
checked program was:
|
5
|
-
/* begin */
|
6
|
-
1: #include "ruby.h"
|
7
|
-
2:
|
8
|
-
3: #include <winsock2.h>
|
9
|
-
4: #include <windows.h>
|
10
|
-
5: int main(int argc, char **argv)
|
11
|
-
6: {
|
12
|
-
7: return 0;
|
13
|
-
8: }
|
14
|
-
/* end */
|
15
|
-
|
16
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L. -L/ming64/lib -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
17
|
-
checked program was:
|
18
|
-
/* begin */
|
19
|
-
1: #include "ruby.h"
|
20
|
-
2:
|
21
|
-
3: #include <winsock2.h>
|
22
|
-
4: #include <windows.h>
|
23
|
-
5:
|
24
|
-
6: /*top*/
|
25
|
-
7: extern int t(void);
|
26
|
-
8: int main(int argc, char **argv)
|
27
|
-
9: {
|
28
|
-
10: if (argc > 1000000) {
|
29
|
-
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
30
|
-
12: printf("%d", (*tp)());
|
31
|
-
13: }
|
32
|
-
14:
|
33
|
-
15: return 0;
|
34
|
-
16: }
|
35
|
-
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_absint_size; return !p; }
|
36
|
-
/* end */
|
37
|
-
|
38
|
-
--------------------
|
39
|
-
|
40
|
-
have_func: checking for rb_absint_singlebit_p()... -------------------- yes
|
41
|
-
|
42
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L. -L/ming64/lib -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
43
|
-
checked program was:
|
44
|
-
/* begin */
|
45
|
-
1: #include "ruby.h"
|
46
|
-
2:
|
47
|
-
3: #include <winsock2.h>
|
48
|
-
4: #include <windows.h>
|
49
|
-
5:
|
50
|
-
6: /*top*/
|
51
|
-
7: extern int t(void);
|
52
|
-
8: int main(int argc, char **argv)
|
53
|
-
9: {
|
54
|
-
10: if (argc > 1000000) {
|
55
|
-
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
56
|
-
12: printf("%d", (*tp)());
|
57
|
-
13: }
|
58
|
-
14:
|
59
|
-
15: return 0;
|
60
|
-
16: }
|
61
|
-
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_absint_singlebit_p; return !p; }
|
62
|
-
/* end */
|
63
|
-
|
64
|
-
--------------------
|
65
|
-
|
66
|
-
have_func: checking for rb_wait_for_single_fd()... -------------------- yes
|
67
|
-
|
68
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L. -L/ming64/lib -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
69
|
-
conftest.c: In function 't':
|
70
|
-
conftest.c:17:57: error: 'rb_wait_for_single_fd' undeclared (first use in this function)
|
71
|
-
17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return !p; }
|
72
|
-
| ^~~~~~~~~~~~~~~~~~~~~
|
73
|
-
conftest.c:17:57: note: each undeclared identifier is reported only once for each function it appears in
|
74
|
-
conftest.c: At top level:
|
75
|
-
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
|
76
|
-
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
|
77
|
-
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
|
78
|
-
checked program was:
|
79
|
-
/* begin */
|
80
|
-
1: #include "ruby.h"
|
81
|
-
2:
|
82
|
-
3: #include <winsock2.h>
|
83
|
-
4: #include <windows.h>
|
84
|
-
5:
|
85
|
-
6: /*top*/
|
86
|
-
7: extern int t(void);
|
87
|
-
8: int main(int argc, char **argv)
|
88
|
-
9: {
|
89
|
-
10: if (argc > 1000000) {
|
90
|
-
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
91
|
-
12: printf("%d", (*tp)());
|
92
|
-
13: }
|
93
|
-
14:
|
94
|
-
15: return 0;
|
95
|
-
16: }
|
96
|
-
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return !p; }
|
97
|
-
/* end */
|
98
|
-
|
99
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L. -L/ming64/lib -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
100
|
-
checked program was:
|
101
|
-
/* begin */
|
102
|
-
1: #include "ruby.h"
|
103
|
-
2:
|
104
|
-
3: #include <winsock2.h>
|
105
|
-
4: #include <windows.h>
|
106
|
-
5:
|
107
|
-
6: /*top*/
|
108
|
-
7: extern int t(void);
|
109
|
-
8: int main(int argc, char **argv)
|
110
|
-
9: {
|
111
|
-
10: if (argc > 1000000) {
|
112
|
-
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
113
|
-
12: printf("%d", (*tp)());
|
114
|
-
13: }
|
115
|
-
14:
|
116
|
-
15: return 0;
|
117
|
-
16: }
|
118
|
-
17: extern void rb_wait_for_single_fd();
|
119
|
-
18: int t(void) { rb_wait_for_single_fd(); return 0; }
|
120
|
-
/* end */
|
121
|
-
|
122
|
-
--------------------
|
123
|
-
|
124
|
-
find_library: checking for -lmysqlclient... -------------------- yes
|
125
|
-
|
126
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lx64-msvcrt-ruby260 -lmysqlclient -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
127
|
-
checked program was:
|
128
|
-
/* begin */
|
129
|
-
1: #include "ruby.h"
|
130
|
-
2:
|
131
|
-
3: #include <winsock2.h>
|
132
|
-
4: #include <windows.h>
|
133
|
-
5:
|
134
|
-
6: /*top*/
|
135
|
-
7: extern int t(void);
|
136
|
-
8: int main(int argc, char **argv)
|
137
|
-
9: {
|
138
|
-
10: if (argc > 1000000) {
|
139
|
-
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
140
|
-
12: printf("%d", (*tp)());
|
141
|
-
13: }
|
142
|
-
14:
|
143
|
-
15: return 0;
|
144
|
-
16: }
|
145
|
-
17:
|
146
|
-
18: int t(void) { ; return 0; }
|
147
|
-
/* end */
|
148
|
-
|
149
|
-
--------------------
|
150
|
-
|
151
|
-
have_header: checking for mysql.h... -------------------- no
|
152
|
-
|
153
|
-
"x86_64-w64-mingw32-gcc -E -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -o conftest.i"
|
154
|
-
conftest.c:5:10: fatal error: mysql.h: No such file or directory
|
155
|
-
5 | #include <mysql.h>
|
156
|
-
| ^~~~~~~~~
|
157
|
-
compilation terminated.
|
158
|
-
checked program was:
|
159
|
-
/* begin */
|
160
|
-
1: #include "ruby.h"
|
161
|
-
2:
|
162
|
-
3: #include <winsock2.h>
|
163
|
-
4: #include <windows.h>
|
164
|
-
5: #include <mysql.h>
|
165
|
-
/* end */
|
166
|
-
|
167
|
-
--------------------
|
168
|
-
|
169
|
-
have_header: checking for mysql/mysql.h... -------------------- yes
|
170
|
-
|
171
|
-
"x86_64-w64-mingw32-gcc -E -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -o conftest.i"
|
172
|
-
checked program was:
|
173
|
-
/* begin */
|
174
|
-
1: #include "ruby.h"
|
175
|
-
2:
|
176
|
-
3: #include <winsock2.h>
|
177
|
-
4: #include <windows.h>
|
178
|
-
5: #include <mysql/mysql.h>
|
179
|
-
/* end */
|
180
|
-
|
181
|
-
--------------------
|
182
|
-
|
183
|
-
have_header: checking for mysql/errmsg.h... -------------------- yes
|
184
|
-
|
185
|
-
"x86_64-w64-mingw32-gcc -E -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable conftest.c -o conftest.i"
|
186
|
-
checked program was:
|
187
|
-
/* begin */
|
188
|
-
1: #include "ruby.h"
|
189
|
-
2:
|
190
|
-
3: #include <winsock2.h>
|
191
|
-
4: #include <windows.h>
|
192
|
-
5: #include <mysql/errmsg.h>
|
193
|
-
/* end */
|
194
|
-
|
195
|
-
--------------------
|
196
|
-
|
197
|
-
have_const: checking for SSL_MODE_DISABLED in mysql/mysql.h... -------------------- no
|
198
|
-
|
199
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -c conftest.c"
|
200
|
-
conftest.c:9:34: error: 'SSL_MODE_DISABLED' undeclared here (not in a function); did you mean 'ODS_DISABLED'?
|
201
|
-
9 | conftest_type conftestval = (int)SSL_MODE_DISABLED;
|
202
|
-
| ^~~~~~~~~~~~~~~~~
|
203
|
-
| ODS_DISABLED
|
204
|
-
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
|
205
|
-
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
|
206
|
-
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
|
207
|
-
checked program was:
|
208
|
-
/* begin */
|
209
|
-
1: #include "ruby.h"
|
210
|
-
2:
|
211
|
-
3: #include <winsock2.h>
|
212
|
-
4: #include <windows.h>
|
213
|
-
5: #include <mysql/mysql.h>
|
214
|
-
6:
|
215
|
-
7: /*top*/
|
216
|
-
8: typedef int conftest_type;
|
217
|
-
9: conftest_type conftestval = (int)SSL_MODE_DISABLED;
|
218
|
-
/* end */
|
219
|
-
|
220
|
-
--------------------
|
221
|
-
|
222
|
-
have_const: checking for MYSQL_OPT_SSL_ENFORCE in mysql/mysql.h... -------------------- no
|
223
|
-
|
224
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -c conftest.c"
|
225
|
-
conftest.c:9:34: error: 'MYSQL_OPT_SSL_ENFORCE' undeclared here (not in a function); did you mean 'MYSQL_OPT_SSL_CRL'?
|
226
|
-
9 | conftest_type conftestval = (int)MYSQL_OPT_SSL_ENFORCE;
|
227
|
-
| ^~~~~~~~~~~~~~~~~~~~~
|
228
|
-
| MYSQL_OPT_SSL_CRL
|
229
|
-
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
|
230
|
-
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
|
231
|
-
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
|
232
|
-
checked program was:
|
233
|
-
/* begin */
|
234
|
-
1: #include "ruby.h"
|
235
|
-
2:
|
236
|
-
3: #include <winsock2.h>
|
237
|
-
4: #include <windows.h>
|
238
|
-
5: #include <mysql/mysql.h>
|
239
|
-
6:
|
240
|
-
7: /*top*/
|
241
|
-
8: typedef int conftest_type;
|
242
|
-
9: conftest_type conftestval = (int)MYSQL_OPT_SSL_ENFORCE;
|
243
|
-
/* end */
|
244
|
-
|
245
|
-
--------------------
|
246
|
-
|
247
|
-
have_struct_member: checking for MYSQL.net.vio in mysql/mysql.h... -------------------- yes
|
248
|
-
|
249
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
250
|
-
checked program was:
|
251
|
-
/* begin */
|
252
|
-
1: #include "ruby.h"
|
253
|
-
2:
|
254
|
-
3: #include <winsock2.h>
|
255
|
-
4: #include <windows.h>
|
256
|
-
5: #include <mysql/mysql.h>
|
257
|
-
6:
|
258
|
-
7: /*top*/
|
259
|
-
8: int s = (char *)&((MYSQL*)0)->net.vio - (char *)0;
|
260
|
-
9: int main(int argc, char **argv)
|
261
|
-
10: {
|
262
|
-
11: return 0;
|
263
|
-
12: }
|
264
|
-
/* end */
|
265
|
-
|
266
|
-
--------------------
|
267
|
-
|
268
|
-
have_struct_member: checking for MYSQL.net.pvio in mysql/mysql.h... -------------------- no
|
269
|
-
|
270
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
271
|
-
conftest.c:8:35: error: 'NET' {aka 'struct st_net'} has no member named 'pvio'; did you mean 'vio'?
|
272
|
-
8 | int s = (char *)&((MYSQL*)0)->net.pvio - (char *)0;
|
273
|
-
| ^~~~
|
274
|
-
| vio
|
275
|
-
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
|
276
|
-
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
|
277
|
-
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
|
278
|
-
checked program was:
|
279
|
-
/* begin */
|
280
|
-
1: #include "ruby.h"
|
281
|
-
2:
|
282
|
-
3: #include <winsock2.h>
|
283
|
-
4: #include <windows.h>
|
284
|
-
5: #include <mysql/mysql.h>
|
285
|
-
6:
|
286
|
-
7: /*top*/
|
287
|
-
8: int s = (char *)&((MYSQL*)0)->net.pvio - (char *)0;
|
288
|
-
9: int main(int argc, char **argv)
|
289
|
-
10: {
|
290
|
-
11: return 0;
|
291
|
-
12: }
|
292
|
-
/* end */
|
293
|
-
|
294
|
-
--------------------
|
295
|
-
|
296
|
-
have_const: checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql/mysql.h... -------------------- yes
|
297
|
-
|
298
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
299
|
-
checked program was:
|
300
|
-
/* begin */
|
301
|
-
1: #include "ruby.h"
|
302
|
-
2:
|
303
|
-
3: #include <winsock2.h>
|
304
|
-
4: #include <windows.h>
|
305
|
-
5: #include <mysql/mysql.h>
|
306
|
-
6:
|
307
|
-
7: /*top*/
|
308
|
-
8: typedef int conftest_type;
|
309
|
-
9: conftest_type conftestval = (int)MYSQL_ENABLE_CLEARTEXT_PLUGIN;
|
310
|
-
/* end */
|
311
|
-
|
312
|
-
--------------------
|
313
|
-
|
314
|
-
have_const: checking for SERVER_QUERY_NO_GOOD_INDEX_USED in mysql/mysql.h... -------------------- yes
|
315
|
-
|
316
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
317
|
-
checked program was:
|
318
|
-
/* begin */
|
319
|
-
1: #include "ruby.h"
|
320
|
-
2:
|
321
|
-
3: #include <winsock2.h>
|
322
|
-
4: #include <windows.h>
|
323
|
-
5: #include <mysql/mysql.h>
|
324
|
-
6:
|
325
|
-
7: /*top*/
|
326
|
-
8: typedef int conftest_type;
|
327
|
-
9: conftest_type conftestval = (int)SERVER_QUERY_NO_GOOD_INDEX_USED;
|
328
|
-
/* end */
|
329
|
-
|
330
|
-
--------------------
|
331
|
-
|
332
|
-
have_const: checking for SERVER_QUERY_NO_INDEX_USED in mysql/mysql.h... -------------------- yes
|
333
|
-
|
334
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
335
|
-
checked program was:
|
336
|
-
/* begin */
|
337
|
-
1: #include "ruby.h"
|
338
|
-
2:
|
339
|
-
3: #include <winsock2.h>
|
340
|
-
4: #include <windows.h>
|
341
|
-
5: #include <mysql/mysql.h>
|
342
|
-
6:
|
343
|
-
7: /*top*/
|
344
|
-
8: typedef int conftest_type;
|
345
|
-
9: conftest_type conftestval = (int)SERVER_QUERY_NO_INDEX_USED;
|
346
|
-
/* end */
|
347
|
-
|
348
|
-
--------------------
|
349
|
-
|
350
|
-
have_const: checking for SERVER_QUERY_WAS_SLOW in mysql/mysql.h... -------------------- yes
|
351
|
-
|
352
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
353
|
-
checked program was:
|
354
|
-
/* begin */
|
355
|
-
1: #include "ruby.h"
|
356
|
-
2:
|
357
|
-
3: #include <winsock2.h>
|
358
|
-
4: #include <windows.h>
|
359
|
-
5: #include <mysql/mysql.h>
|
360
|
-
6:
|
361
|
-
7: /*top*/
|
362
|
-
8: typedef int conftest_type;
|
363
|
-
9: conftest_type conftestval = (int)SERVER_QUERY_WAS_SLOW;
|
364
|
-
/* end */
|
365
|
-
|
366
|
-
--------------------
|
367
|
-
|
368
|
-
have_const: checking for MYSQL_OPTION_MULTI_STATEMENTS_ON in mysql/mysql.h... -------------------- yes
|
369
|
-
|
370
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
371
|
-
checked program was:
|
372
|
-
/* begin */
|
373
|
-
1: #include "ruby.h"
|
374
|
-
2:
|
375
|
-
3: #include <winsock2.h>
|
376
|
-
4: #include <windows.h>
|
377
|
-
5: #include <mysql/mysql.h>
|
378
|
-
6:
|
379
|
-
7: /*top*/
|
380
|
-
8: typedef int conftest_type;
|
381
|
-
9: conftest_type conftestval = (int)MYSQL_OPTION_MULTI_STATEMENTS_ON;
|
382
|
-
/* end */
|
383
|
-
|
384
|
-
--------------------
|
385
|
-
|
386
|
-
have_const: checking for MYSQL_OPTION_MULTI_STATEMENTS_OFF in mysql/mysql.h... -------------------- yes
|
387
|
-
|
388
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
389
|
-
checked program was:
|
390
|
-
/* begin */
|
391
|
-
1: #include "ruby.h"
|
392
|
-
2:
|
393
|
-
3: #include <winsock2.h>
|
394
|
-
4: #include <windows.h>
|
395
|
-
5: #include <mysql/mysql.h>
|
396
|
-
6:
|
397
|
-
7: /*top*/
|
398
|
-
8: typedef int conftest_type;
|
399
|
-
9: conftest_type conftestval = (int)MYSQL_OPTION_MULTI_STATEMENTS_OFF;
|
400
|
-
/* end */
|
401
|
-
|
402
|
-
--------------------
|
403
|
-
|
404
|
-
have_type: checking for my_bool in mysql/mysql.h... -------------------- yes
|
405
|
-
|
406
|
-
"x86_64-w64-mingw32-gcc -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT -c conftest.c"
|
407
|
-
checked program was:
|
408
|
-
/* begin */
|
409
|
-
1: #include "ruby.h"
|
410
|
-
2:
|
411
|
-
3: #include <winsock2.h>
|
412
|
-
4: #include <windows.h>
|
413
|
-
5: #include <mysql/mysql.h>
|
414
|
-
6:
|
415
|
-
7: /*top*/
|
416
|
-
8: typedef my_bool conftest_type;
|
417
|
-
9: int conftestval[sizeof(conftest_type)?1:-1];
|
418
|
-
/* end */
|
419
|
-
|
420
|
-
--------------------
|
421
|
-
|
422
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Weverything -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
423
|
-
x86_64-w64-mingw32-gcc: error: unrecognized command line option '-Weverything'
|
424
|
-
checked program was:
|
425
|
-
/* begin */
|
426
|
-
1: #include "ruby.h"
|
427
|
-
2:
|
428
|
-
3: #include <winsock2.h>
|
429
|
-
4: #include <windows.h>
|
430
|
-
5: int main() {return 0;}
|
431
|
-
/* end */
|
432
|
-
|
433
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-bad-function-cast -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
434
|
-
checked program was:
|
435
|
-
/* begin */
|
436
|
-
1: #include "ruby.h"
|
437
|
-
2:
|
438
|
-
3: #include <winsock2.h>
|
439
|
-
4: #include <windows.h>
|
440
|
-
5: int main() {return 0;}
|
441
|
-
/* end */
|
442
|
-
|
443
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-conditional-uninitialized -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
444
|
-
checked program was:
|
445
|
-
/* begin */
|
446
|
-
1: #include "ruby.h"
|
447
|
-
2:
|
448
|
-
3: #include <winsock2.h>
|
449
|
-
4: #include <windows.h>
|
450
|
-
5: int main() {return 0;}
|
451
|
-
/* end */
|
452
|
-
|
453
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-covered-switch-default -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
454
|
-
checked program was:
|
455
|
-
/* begin */
|
456
|
-
1: #include "ruby.h"
|
457
|
-
2:
|
458
|
-
3: #include <winsock2.h>
|
459
|
-
4: #include <windows.h>
|
460
|
-
5: int main() {return 0;}
|
461
|
-
/* end */
|
462
|
-
|
463
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-declaration-after-statement -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
464
|
-
checked program was:
|
465
|
-
/* begin */
|
466
|
-
1: #include "ruby.h"
|
467
|
-
2:
|
468
|
-
3: #include <winsock2.h>
|
469
|
-
4: #include <windows.h>
|
470
|
-
5: int main() {return 0;}
|
471
|
-
/* end */
|
472
|
-
|
473
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-disabled-macro-expansion -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
474
|
-
checked program was:
|
475
|
-
/* begin */
|
476
|
-
1: #include "ruby.h"
|
477
|
-
2:
|
478
|
-
3: #include <winsock2.h>
|
479
|
-
4: #include <windows.h>
|
480
|
-
5: int main() {return 0;}
|
481
|
-
/* end */
|
482
|
-
|
483
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-documentation-unknown-command -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
484
|
-
checked program was:
|
485
|
-
/* begin */
|
486
|
-
1: #include "ruby.h"
|
487
|
-
2:
|
488
|
-
3: #include <winsock2.h>
|
489
|
-
4: #include <windows.h>
|
490
|
-
5: int main() {return 0;}
|
491
|
-
/* end */
|
492
|
-
|
493
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-missing-field-initializers -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
494
|
-
checked program was:
|
495
|
-
/* begin */
|
496
|
-
1: #include "ruby.h"
|
497
|
-
2:
|
498
|
-
3: #include <winsock2.h>
|
499
|
-
4: #include <windows.h>
|
500
|
-
5: int main() {return 0;}
|
501
|
-
/* end */
|
502
|
-
|
503
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-missing-variable-declarations -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
504
|
-
checked program was:
|
505
|
-
/* begin */
|
506
|
-
1: #include "ruby.h"
|
507
|
-
2:
|
508
|
-
3: #include <winsock2.h>
|
509
|
-
4: #include <windows.h>
|
510
|
-
5: int main() {return 0;}
|
511
|
-
/* end */
|
512
|
-
|
513
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-padded -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
514
|
-
checked program was:
|
515
|
-
/* begin */
|
516
|
-
1: #include "ruby.h"
|
517
|
-
2:
|
518
|
-
3: #include <winsock2.h>
|
519
|
-
4: #include <windows.h>
|
520
|
-
5: int main() {return 0;}
|
521
|
-
/* end */
|
522
|
-
|
523
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-reserved-id-macro -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
524
|
-
checked program was:
|
525
|
-
/* begin */
|
526
|
-
1: #include "ruby.h"
|
527
|
-
2:
|
528
|
-
3: #include <winsock2.h>
|
529
|
-
4: #include <windows.h>
|
530
|
-
5: int main() {return 0;}
|
531
|
-
/* end */
|
532
|
-
|
533
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-sign-conversion -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
534
|
-
checked program was:
|
535
|
-
/* begin */
|
536
|
-
1: #include "ruby.h"
|
537
|
-
2:
|
538
|
-
3: #include <winsock2.h>
|
539
|
-
4: #include <windows.h>
|
540
|
-
5: int main() {return 0;}
|
541
|
-
/* end */
|
542
|
-
|
543
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-static-in-inline -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
544
|
-
checked program was:
|
545
|
-
/* begin */
|
546
|
-
1: #include "ruby.h"
|
547
|
-
2:
|
548
|
-
3: #include <winsock2.h>
|
549
|
-
4: #include <windows.h>
|
550
|
-
5: int main() {return 0;}
|
551
|
-
/* end */
|
552
|
-
|
553
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-switch-enum -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
554
|
-
checked program was:
|
555
|
-
/* begin */
|
556
|
-
1: #include "ruby.h"
|
557
|
-
2:
|
558
|
-
3: #include <winsock2.h>
|
559
|
-
4: #include <windows.h>
|
560
|
-
5: int main() {return 0;}
|
561
|
-
/* end */
|
562
|
-
|
563
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-undef -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
564
|
-
checked program was:
|
565
|
-
/* begin */
|
566
|
-
1: #include "ruby.h"
|
567
|
-
2:
|
568
|
-
3: #include <winsock2.h>
|
569
|
-
4: #include <windows.h>
|
570
|
-
5: int main() {return 0;}
|
571
|
-
/* end */
|
572
|
-
|
573
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-unreachable-code -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
574
|
-
checked program was:
|
575
|
-
/* begin */
|
576
|
-
1: #include "ruby.h"
|
577
|
-
2:
|
578
|
-
3: #include <winsock2.h>
|
579
|
-
4: #include <windows.h>
|
580
|
-
5: int main() {return 0;}
|
581
|
-
/* end */
|
582
|
-
|
583
|
-
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/x64-mingw32 -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0/ruby/backward -IC:/msys64/usr/local/ruby-2.6.3/include/ruby-2.6.0 -IC:/msys64/usr/local/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/mysql2-0.5.2/ext/mysql2 -I/usr/local/include -I/mingw64/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -DNO_SSL_MODE_SUPPORT conftest.c -L. -LC:/msys64/usr/local/ruby-2.6.3/lib -L/usr/local/lib -L. -L/ming64/lib -lmysqlclient -lx64-msvcrt-ruby260 -Werror -Wno-used-but-marked-unused -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
584
|
-
checked program was:
|
585
|
-
/* begin */
|
586
|
-
1: #include "ruby.h"
|
587
|
-
2:
|
588
|
-
3: #include <winsock2.h>
|
589
|
-
4: #include <windows.h>
|
590
|
-
5: int main() {return 0;}
|
591
|
-
/* end */
|
592
|
-
|