Re: [hwloc-users] One more silly warning squash

2020-06-01 Thread Samuel Thibault
Balaji, Pavan, le lun. 01 juin 2020 09:10:21 +, a ecrit: > > On Jun 1, 2020, at 4:06 AM, Samuel Thibault > > wrote: > > could you check whether the attached patch avoids the warning? > > (we should really not need a cast to const char*) > > The attached patch is basically the same as what

Re: [hwloc-users] One more silly warning squash

2020-06-01 Thread Balaji, Pavan via hwloc-users
> On Jun 1, 2020, at 4:10 AM, Balaji, Pavan wrote: >> On Jun 1, 2020, at 4:06 AM, Samuel Thibault wrote: >> could you check whether the attached patch avoids the warning? >> (we should really not need a cast to const char*) > > The attached patch is basically the same as what we are using,

Re: [hwloc-users] One more silly warning squash

2020-06-01 Thread Balaji, Pavan via hwloc-users
Hi Samuel, > On Jun 1, 2020, at 4:06 AM, Samuel Thibault wrote: > could you check whether the attached patch avoids the warning? > (we should really not need a cast to const char*) The attached patch is basically the same as what we are using, isn't it? It does avoid the warning. -- Pavan

Re: [hwloc-users] One more silly warning squash

2020-06-01 Thread Samuel Thibault
Hello, Balaji, Pavan via hwloc-users, le lun. 01 juin 2020 03:39:02 +, a ecrit: > We are seeing some warnings with the Intel compiler with hwloc (listed > below). The warnings seem to be somewhat silly because there already is a > cast to "char *" from the string literal, Well, I'd agree