Due to some increased strictures, there needs to be explicit including of various files. The original debian bug shows more detail. Have created adapted patch and ebuild vs 2.0.3 Reproducible: Always
Created attachment 180089 [details, diff] files/gcc4.4.patch
Created attachment 180090 [details] libsmbios-2.0.3.ebuild
Just wondering why the patch adds sometimes stdio.h and sometimes cstdio. I thought that it should always be cstdio in cpp-files?
when using the .h versions, their functions are considered to be in the global namespace and don't need to be explicitly prefixed with std::. it sometimes doesn't matter and sometimes does. http://www.comeaucomputing.com/techtalk/#cname
+ 11 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/libsmbios-2.0.3-gcc44.patch, libsmbios-2.0.3.ebuild: + Fix bug 256777, failure with gcc-4.4. Thanks to Kent Fredric + <kentfredric@gmail.com> for the patch. +