Bug #10164

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

Added by Toomas Soome about 2 months ago. Updated about 2 months ago.

Status:ClosedStart date:2018-12-25
Priority:NormalDue date:
Assignee:Toomas Soome% Done:

100%

Category:cmd - userland programs
Target version:-
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 about 2 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