It is actually easy to fix, we just need to move hwloc's #include before what base64.c actually #include's. That'll be fixed in rc2 too.
Brice Le 25/01/2018 à 10:56, Brice Goglin a écrit : > Like the error below? > > This code hasn't changed recently. Did you ever build with these flags > before? > > I am not sure I'll have time to fix yet another header crazyness before rc2. > > Brice > > > > CC base64.lo > In file included from > /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/private.h:29:0, > from base64.c:128: > /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h: In > function 'hwloc_strncasecmp': > /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h:370:10: > error: implicit declaration of function 'strncasecmp'; did you mean > 'strncmp'? [-Werror=implicit-function-declaration] > return strncasecmp(s1, s2, n); > ^~~~~~~~~~~ > strncmp > cc1: some warnings being treated as errors > > > Le 25/01/2018 à 10:45, Balaji, Pavan a écrit : >> Hello, >> >> hwloc-2.0rc1 build seems to fail on Solaris, with the following CFLAGS: >> >> CFLAGS="-Werror-implicit-function-declaration -std=c99" >> >> I'm using gcc-4.8.2 >> >> Thanks, >> >> -- Pavan >> >> _______________________________________________ >> hwloc-users mailing list >> hwloc-users@lists.open-mpi.org >> https://lists.open-mpi.org/mailman/listinfo/hwloc-users _______________________________________________ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/hwloc-users