Fix mixing C and C++ in templates
authorTomas Chvatal <tomas.chvatal@gmail.com>
Wed, 24 Jul 2013 20:38:55 +0000 (22:38 +0200)
committerTomas Chvatal <tomas.chvatal@gmail.com>
Wed, 24 Jul 2013 20:38:55 +0000 (22:38 +0200)
commit361ec5d439b290e659cec63071f499fc0104401c
treea6a23b2a319ea83d7ca8d9cd19294cc45fbd068e
parent9abd223f243c811653206c6f52bea1ec13c84bdf
Fix mixing C and C++ in templates

This kills the favorite error for some gcc versions about C in the
templates.

*snip*
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/bits/basic_string.tcc:1068:3:
error: template with C linkage
make[2]: *** [zypp/CMakeFiles/zypp.dir/parser/xml/Node.cc.o] Error 1
*snip*

Basically we don't need to put this stuff here as it is done in the
headers themselves, so just prune the problematic code.
zypp/parser/xml/Node.cc
zypp/parser/xml/Reader.cc