Skip to content

mnexec.c: Compilation Error due to missing terminating " character in 'VERSION' macro on Codespaces (Blank Template) #604

@BenjaminSJLIN

Description

@BenjaminSJLIN

Bug Report: mnexec.c Compilation Issue

I encountered a compilation error in the mnexec.c file when attempting to build the project within a GitHub Codespaces (Blank Template) environment. The issue appears to be related to a missing terminating quote in the VERSION macro expansion.

Environment Details

  • Environment: GitHub Codespaces (Blank Template)

Error Description

The compiler failed while processing mnexec.c during the make command. The error message explicitly states a "missing terminating " character," which occurs during the expansion of the VERSION` macro.

Full Error Output

Here is the complete output from the compiler:

mnexec.c: In function ‘main’:
<command-line>: error: missing terminating " character
mnexec.c:208:28: note: in expansion of macro ‘VERSION’
  208 |              printf("%s\n", VERSION);
      |                            ^~~~~~~
mnexec.c:208:35: error: expected expression before ‘)’ token
  208 |              printf("%s\n", VERSION);
      |                                   ^
make: *** [Makefile:50: mnexec] Error 1

Steps to Reproduce

Please provide the detailed steps to reproduce this issue:

  1. Open a new GitHub Codespaces environment using the Blank Template.
  2. Clone/download the project repository.
  3. Open the install.sh script in the root directory.
  4. Replace all instances of pep8 with pycodestyle within the install.sh file.
  5. Execute the installation or build command: sudo ./install.sh -a

Thank you for your assistance in resolving this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions