Files
poky/meta/recipes-devtools
Kai Kang 18b955559a dpkg: fix include header caused compile error
Build dpkg-native on Fedora 19, it fails with:

/usr/include/c++/4.8.1/cstdlib: In function ‘long long int std::abs(long long int)’:
/usr/include/c++/4.8.1/cstdlib:174:20: error: declaration of C function ‘long long int std::abs(long long int)’ conflicts with
   abs(long long __x) { return __builtin_llabs (__x); }
                    ^
/usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration ‘long int std::abs(long int)’ here
   abs(long __i) { return __builtin_labs(__i); }
   ^

That because header cstdlib is included in a 'extern "C"' block that gcc
4.8 doesn't support. Fix it by move the header file out of the 'extern "C"'
block.

(From OE-Core rev: 7de61ecc3efc43c625dde9a66f5c05e980a82e34)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-13 23:06:04 +01:00
..
2013-01-07 11:09:36 +00:00
2013-07-02 22:23:49 +01:00
2013-07-29 13:09:06 +01:00
2013-07-10 09:42:04 +01:00
2013-06-07 16:48:23 +01:00
2013-07-29 13:09:07 +01:00
2013-07-10 09:41:51 +01:00
2013-08-03 10:33:08 +01:00
2013-08-03 10:33:05 +01:00
2013-02-04 13:18:27 +00:00
2013-07-05 15:44:12 +01:00
2013-02-06 09:37:26 +00:00
2011-11-29 11:22:04 +00:00
2013-07-29 13:09:02 +01:00
2013-08-03 10:33:05 +01:00
2013-07-29 13:09:09 +01:00
2013-04-28 12:12:20 +01:00
2013-05-24 14:14:45 +01:00
2013-01-07 13:38:27 +00:00
2013-03-18 13:18:24 +00:00
2013-07-29 13:09:14 +01:00
2013-07-05 15:44:12 +01:00
2013-07-31 06:59:55 +01:00
2011-12-08 15:24:32 +00:00
2012-08-19 10:46:39 +01:00
2013-07-18 21:24:28 +01:00
2013-08-13 23:05:58 +01:00