extpp 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ef55c0236ab63ae58504df77564c4f22e9bb909663edc890a4bacd49d0b2160
4
- data.tar.gz: f1c81a0659207d423419683fcd3ba0d30f63589cfbbbdfe35921c38f5e2cea2d
3
+ metadata.gz: f49c10b6867050e901d6a62c1603edf59a043a1bd00adaa0406ec617ad6433c1
4
+ data.tar.gz: 30b74d3f1d398329f5e46a8c26e37af6a136b894e7baacadc4a721d3a762fff5
5
5
  SHA512:
6
- metadata.gz: 7b58c02a7dfc2e57030a66f736cd09d6cf8f8cef83e8f5c74ae345fde012382fa7ac49817e017a29c4ff0e57b979e3a2f9b6bd722efc0e52d79c956cfd6b89c1
7
- data.tar.gz: 6f98a9d19e7c7ff406c200ce442b5fc54667b495e4e0ff3c392d6f7d58a27626cbf0a1cb8ff3cba96f292983ddade0b36ec2d9d43692a2a2b924838317f26355
6
+ metadata.gz: 3a765bf63c05366b94f3002f3a29e03fd837db823af45205975f32d45ca0aaa1c536f5d278c22b4da61aa7b87e964966bcacb6d5c484dd52c14937af77553748
7
+ data.tar.gz: 4f36f5793d58b0e501f4b93ee5e35011d35c5cfb9d1abde899e746df1c959a2a4b6ca6872f79d85eccdd6a998c3c23ea36bfe258a64f65a4925643695587f0d7
@@ -1,5 +1,19 @@
1
1
  # News
2
2
 
3
+ ## 0.0.6 - 2019-02-25
4
+
5
+ ### Improvements
6
+
7
+ * Suppressed warnings by `register`.
8
+ [GitHub#6][Patch by Kenta Murata]
9
+
10
+ * Added `noreturn` attribute to suppress warning.
11
+ [GitHub#7][Patch by Kenta Murata]
12
+
13
+ ### Thanks
14
+
15
+ * Kenta Murata
16
+
3
17
  ## 0.0.5 - 2019-02-25
4
18
 
5
19
  ### Improvements
@@ -9,7 +9,7 @@ namespace rb {
9
9
  state_(state) {
10
10
  }
11
11
 
12
- inline void jump() {
12
+ [[noreturn]] inline void jump() {
13
13
  rb_jump_tag(state_);
14
14
  }
15
15
 
@@ -86,6 +86,7 @@ module ExtPP
86
86
  else
87
87
  std = "gnu++17"
88
88
  end
89
+ cxx_flags = "-Wno-deprecated-register"
89
90
  end
90
91
 
91
92
  if std
@@ -96,6 +97,7 @@ module ExtPP
96
97
  std = "gnu++14"
97
98
  end
98
99
  @cxx_flags += " -std=#{std}"
100
+ @cxx_flags += " #{cxx_flags}" if cxx_flags
99
101
  [version, " (#{std})"]
100
102
  else
101
103
  [version, ""]
@@ -1,3 +1,3 @@
1
1
  module ExtPP
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-24 00:00:00.000000000 Z
11
+ date: 2019-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler