Project

General

Profile

Bug #12098

libfmnotify: passing argument 1 to restrict-qualified parameter aliases with argument 4

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with gcc 8:

    ../common/libfmnotify.c: In function 'nd_join_strarray':
    ../common/libfmnotify.c:451:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
       (void) snprintf(jbuf, len, "%s,%s", jbuf, arr[i]);
       ^
    cc1: all warnings being treated as errors

Testing: build/install/boot

History

#1

Updated by Toomas Soome 2 months ago

  • Description updated (diff)
#2

Updated by Electric Monk 7 days ago

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

git commit 51d7c47a2ff052304a62dd7442303287396ae711

commit  51d7c47a2ff052304a62dd7442303287396ae711
Author: Toomas Soome <tsoome@me.com>
Date:   2020-02-20T16:57:16.000Z

    12098 libfmnotify: passing argument 1 to restrict-qualified parameter aliases with argument 4
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Matthias Scheler <mscheler@tintri.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Also available in: Atom PDF