gcc-to-clang-analyzer 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15d041bf42187e64e3c4a07676bdd599a9895e83
4
- data.tar.gz: d45d23cdc0e77351e68d755d377ef54b52e7b891
3
+ metadata.gz: 4e97c34e2a83c84c514994b24292238f6b0d0a5c
4
+ data.tar.gz: 9494d5d9d5d100f261b5ec5c4133b502d86e7c97
5
5
  SHA512:
6
- metadata.gz: 66d2593fe6d529c935d2632cc836351a951016868ca4ec7dd4c3956373c8aada4b59ec46e6eb1f03e7620b25a4b40f1bcd3bbc13759c36400e23d243b3e107bd
7
- data.tar.gz: 15887598bc8ccf969992afbc82cd7ea376aa5b76f84083428a85339c278a9c4f9f1b4170982ce2bc1117a518deac7f243e096ea6b0d83fd80e590188c62cec70
6
+ metadata.gz: a52350c7deab021f86cc3e7cf941ea5c0e5870371a1661c471752630b8662467c240de9dbeec7baf9f6f6a46e78b4088cdb9c033b00e251cd11c04ff24a2762c
7
+ data.tar.gz: 8cf431ea5a10f5a3918ca4b458ada5ca2df68f172dd5c46262a75d69838ec1a57413b44fc7bd91f084b73eabab8c98e3130dfdfe6b53b660ce5dca55559dea53
data/bin/g++ CHANGED
@@ -4,7 +4,7 @@ require 'gcc_to_clang_analyzer/prepare_compiler_commandline'
4
4
  require 'gcc_to_clang_analyzer/rewrite_plist_file'
5
5
  require 'logger'
6
6
  logger = Logger.new(STDOUT)
7
- logger.level = Logger::
7
+ logger.level = Logger::WARN
8
8
  logger.debug("original #{ARGV.join(' ')}")
9
9
 
10
10
  command_line, output = PrepareCompilerCommandline.transform(ARGV)
@@ -13,7 +13,10 @@ cl = command_line.join(' ')
13
13
  logger.info("executing '#{cl}'")
14
14
 
15
15
  res = system(cl)
16
- return res if res != 0
16
+ if res != 0
17
+ logger.warn("problems while executing #{cl}")
18
+ return res
19
+ end
17
20
 
18
21
  if res && output.length > 0
19
22
  workspace_path = File.absolute_path('..')
@@ -1,3 +1,3 @@
1
1
  module GccToClangAnalyzer
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcc-to-clang-analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Köstlin