Project

General

Profile

Actions

Bug #12098

closed

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

Added by Toomas Soome over 3 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

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

Actions #1

Updated by Toomas Soome over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk over 3 years 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>

Actions

Also available in: Atom PDF