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

2020-06-02 Thread Samuel Thibault
Balaji, Pavan, le mar. 02 juin 2020 09:31:29 +, a ecrit: > > On Jun 1, 2020, at 4:11 AM, Balaji, Pavan via hwloc-users > > wrote: > >> 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

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

2020-06-02 Thread Balaji, Pavan via hwloc-users
> On Jun 1, 2020, at 4:11 AM, Balaji, Pavan via hwloc-users > wrote: >> 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 cons

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 we

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, isn

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 w

[hwloc-users] One more silly warning squash

2020-05-31 Thread Balaji, Pavan via hwloc-users
Folks, 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, but it seems to expect a cast to "const char *" before casting to "char *". We are maintaining the