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 +4 -4
- data/bin/g++ +5 -2
- data/lib/gcc_to_clang_analyzer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e97c34e2a83c84c514994b24292238f6b0d0a5c
|
4
|
+
data.tar.gz: 9494d5d9d5d100f261b5ec5c4133b502d86e7c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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('..')
|