我要评分
获取效率
正确性
完整性
易理解

Error Reported When make Is Run

Symptom

The error message "error: invalid operands to binary != (have 'va_list' {aka '__va_list'} and 'void *')" is displayed when you run the make command.

Key Process and Cause Analysis

The source code programming language is not standard.

Conclusion and Solution

Modify the htmshell.c file.
  1. Run the vim command to open the htmshell.c file.

    vim lib/htmshell.c

  2. Run the following command to locate line 714:

    :714

  3. Press i to enter the insert mode and modify the content in line 714:
    if (format != NULL)
  4. Press Esc, type :wq!, and press Enter to save the settings and exit.