[Openmp-dev] suppress more unused-variable and unused-function warnings

C Bergström cbergstrom at pathscale.com
Sun Jun 7 13:24:40 PDT 2015


On Mon, Jun 8, 2015 at 3:21 AM, Jack Howarth
<howarth.mailing.lists at gmail.com> wrote:
> On Sun, Jun 7, 2015 at 3:21 PM, C Bergström <cbergstrom at pathscale.com> wrote:
>> Are these false warnings? I think clang should be fixed. Is there a
>> ticket on this?
>> -                kmp_task_team_t * task_team = this_thr->th.th_task_team;
>> +                kmp_task_team_t * task_team;
>> +                task_team = this_thr->th.th_task_team;
>>
>>
>> I'd like to keep the c90 style instead of c99
>> -    int f;
>>
>
> C,
>      If you search for instances of...
>
> grep -R int * | grep for | grep " = " | grep "\+\+"
>
> in openmp, you will find that the C99 syntax is already widely used so
> this seems to be a moot point unless all those are going to be
> reversed as well.

Hmm. I'll look into that. We may be compiling the code as c++ in order
to get around that. For super legacy reasons c99 isn't supported on
some linux. (GCC claimed support, but it wasn't actually
correct/complete)




More information about the Openmp-dev mailing list