Project

General

Profile

Bug #11445

w: NULL pointer errors

Added by Toomas Soome 5 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

    ../w.c: In function 'clnarglist':
    ../w.c:737:23: error: comparison between pointer and integer [-Werror]
      for (c = arglist; *c != NULL; c++) {
                           ^~
    ../w.c:740:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
         *arglist = NULL;
                  ^
    cc1: all warnings being treated as errors

Also available in: Atom PDF