Skip to content

Ошибка сборки ветки experimental в MacOS #138

@and-semakin

Description

@and-semakin

Не могу собрать ветку experimental на MacOS. Сборка завершается с 1 ошибкой и 140 предупреждениями.

Ошибка имеет следующее содержание:

$ make
cd thirdParty/mimetex/ && ( test -e Makefile || /usr/local/opt/qt/bin/qmake -o Makefile /Users/andreisemakin/git/mytetra_dev/thirdParty/mimetex/mimetex.pro ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile
Project MESSAGE: Touch mimeTeX qmake
/Library/Developer/CommandLineTools/usr/bin/clang -c -pipe -DAA -O2  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/local/Cellar/qt/5.14.1/lib/QtCore.framework/Headers -I. -I/usr/local/Cellar/qt/5.14.1/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.14.1/lib -o build/obj/mimetex.o mimetex.c
In file included from mimetex.c:434:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:160:7: error: conflicting types for
      'strcasestr'
char    *strcasestr(const char *__big, const char *__little);
         ^
mimetex.c:428:13: note: previous declaration is here
const char *strcasestr(const char *s1, const char *s2);

Полный вывод сборки можно посмотреть здесь:
https://github.com/and-semakin/mytetra_dev/runs/638247030

Есть ли идеи, как это можно починить?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions