Skip to content

Build failure with mingw #1273

@star-hengxing

Description

@star-hengxing

https://github.com/xmake-io/xmake-repo/actions/runs/15472142896/job/43558993606

C:\Users\runneradmin\AppData\Local\.xmake\packages\t\taglib\v2.1\065cbcf5bd7c4823bc553bf1a0bb8bf1\include/taglib/tag_c.h:146:58: error: unknown type name 'wchar_t'
  146 | TAGLIB_C_EXPORT TagLib_File *taglib_file_new_wchar(const wchar_t *filename);
      |                                                          ^~~~~~~
C:\Users\runneradmin\AppData\Local\.xmake\packages\t\taglib\v2.1\065cbcf5bd7c4823bc553bf1a0bb8bf1\include/taglib/tag_c.h:1:1: note: 'wchar_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
  +++ |+#include <stddef.h>
    1 | /***************************************************************************
C:\Users\runneradmin\AppData\Local\.xmake\packages\t\taglib\v2.1\065cbcf5bd7c4823bc553bf1a0bb8bf1\include/taglib/tag_c.h:155:63: error: unknown type name 'wchar_t'
  155 | TAGLIB_C_EXPORT TagLib_File *taglib_file_new_type_wchar(const wchar_t *filename, TagLib_File_Type type);
      |                                                               ^~~~~~~
C:\Users\runneradmin\AppData\Local\.xmake\packages\t\taglib\v2.1\065cbcf5bd7c4823bc553bf1a0bb8bf1\include/taglib/tag_c.h:155:63: note: 'wchar_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'

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