Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-07-21 Thread gregor herrmann
On Tue, 21 Jul 2015 14:25:08 -0700, Martin Michlmayr wrote: > * gregor herrmann [2015-07-19 19:36]: > > Looks like this needs more changes. Adding "-std=gnu89" to Makefile* leads > > to: > Works fine for me when I add -std=gnu89 to Makefile manually to test, > but it seems that CFLAGS from debia

Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-07-21 Thread Martin Michlmayr
* gregor herrmann [2015-07-19 19:36]: > Looks like this needs more changes. Adding "-std=gnu89" to Makefile* leads to: Works fine for me when I add -std=gnu89 to Makefile manually to test, but it seems that CFLAGS from debian/rules is not used during the build process. -- Martin Michlmayr Linux

Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-07-19 Thread gregor herrmann
On Sat, 27 Jun 2015 15:03:07 -0400, Martin Michlmayr wrote: > * Arthur Marble [2014-08-08 17:05]: > > ++echo -e "\n#ifdef __clang__\n#define inline\n#endif" >> config.h > That patch seems like an ugly workaround to me. Wouldn't it be better > to either pass -std=gnu89 to the compiler (both GCC a

Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-06-27 Thread Martin Michlmayr
* Arthur Marble [2014-08-08 17:05]: > ++echo -e "\n#ifdef __clang__\n#define inline\n#endif" >> config.h That patch seems like an ugly workaround to me. Wouldn't it be better to either pass -std=gnu89 to the compiler (both GCC and clang support this) or to convert to C99 inline semantics. Packa

Bug#757525: hardinfo: FTBFS with clang instead of gcc

2014-08-08 Thread Arthur Marble
Package: hardinfo Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). Detected this kind of error: http://clang.debian.net/status.php?version=3.5.0rc1&key=U