Project

General

Profile

Bug #10164

crle: passing argument 2 to restrict-qualified parameter aliases with argument 1

Added by Toomas Soome 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-12-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Issue found by gcc 8 build:

    ../common/inspect.c:101:27: error: passing argument 2 to restrict-qualified para
    meter aliases with argument 1 [-Werror=restrict]
       (void) realpath(_alter, _alter);
                       ~~~~~~  ^~~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 7 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 3ab8de02e091bc75fc50aafc5cbe32c053451d88

commit  3ab8de02e091bc75fc50aafc5cbe32c053451d88
Author: Toomas Soome <tsoome@me.com>
Date:   2018-12-29T21:49:23.000Z

    10164 crle: passing argument 2 to restrict-qualified parameter aliases with argument 1
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF