Files
linux/scripts
Shunqian Zheng 41c170c42f scripts: make gcc-wrapper.py compatible with python 2.7 and 3
Python 3 requires parentheses in call to 'print', meanwhile
the 'line' could be bytes-like, let's decoding to str as utf-8.

This makes the gcc-wrapper.py compatible with both 2.7 and 3.

For example, a bytes-like string as below,
 b'kernel/reboot.c:47:13: error: function declaration isn\xe2\x80\x99t a
 prototype [-Werror=strict-prototypes]\n'
 b' static void no_use()\n'
 b'             ^~~~~~\n'

After decoding, it looks like,
 kernel/reboot.c:47:13: error: function declaration isn’t a prototype
 [-Werror=strict-prototypes]
  static void no_use()
              ^~~~~~

Change-Id: Icacdbe2ca7b7ab674ab90e54b79d3176e0061ac6
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-07-19 11:58:45 +08:00
..
2005-04-16 15:20:36 -07:00
2014-08-20 16:03:45 +02:00
2012-08-17 19:17:19 +08:00
2014-08-20 16:03:45 +02:00
2011-08-31 16:12:17 +02:00
2015-11-11 15:57:28 +08:00
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
2012-06-27 12:44:29 -07:00
2010-03-23 12:26:38 +01:00
2015-11-11 15:57:28 +08:00
2014-12-20 00:01:12 +01:00
2015-11-11 15:57:28 +08:00
2016-03-03 15:07:12 -08:00
2015-11-11 15:57:28 +08:00
2015-10-12 17:46:36 +01:00
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
2005-04-16 15:20:36 -07:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-08-28 17:04:40 +02:00
2015-08-28 17:04:40 +02:00
2014-08-20 16:03:45 +02:00