samba: fix parsing linemarkers in preprocessor output
authorChong.Lu@windriver.com <Chong.Lu@windriver.com>
Fri, 13 Jun 2014 06:12:55 +0000 (14:12 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:39:18 +0000 (08:39 -0800)
commitaa5306c99a0e227cbec335cdcdc24e21bb0095bc
tree1e73556859a1ae3428f69cbdfa4e82af66755aec
parent97617ea9075b4f983780d386dd5ffe444e238d08
samba: fix parsing linemarkers in preprocessor output

When PIDL calls out to C preprocessor to expand IDL files
and parse the output, it filters out linemarkers and line control
information as described in http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
and http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html#Line-Control

With gcc 4.8 stdc-predef.h is included automatically and linemarker for the
file has extended flags that PIDL couldn't parse ('system header that needs to
be extern "C" protected for C++')

(From meta-openembedded rev: 65ac416470b871888ca6c743ddbec56e5bc2c1fd)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/samba/samba/0001-PIDL-fix-parsing-linemarkers-in-preprocessor-output.patch [new file with mode: 0644]
meta-openembedded/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb