Skip to content

Commit

Permalink
Ignoring C-explicit user-defined types on C++ error messages on clang…
Browse files Browse the repository at this point in the history
… build.
  • Loading branch information
nthnn committed Oct 31, 2024
1 parent d9bb3ad commit 780e532
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ def download_libui():
'-Wuninitialized', '-Wunknown-pragmas', '-Wunreachable-code',
'-Wunused', '-Wunused-function', '-Wunused-label', '-Wunused-parameter',
'-Wunused-value', '-Wunused-variable', '-Wvariadic-macros',
'-Wwrite-strings', '-pipe', '-std=c++17', '-fopenmp', '-march=native',
'-funroll-loops', '-ffast-math', '-flto=auto', '-Xpreprocessor',
'-O3', '-Wno-header-guard', '-Wno-pessimizing-move'
'-Wwrite-strings', '-Wno-return-type-c-linkage', '-pipe',
'-std=c++17', '-fopenmp', '-march=native', '-funroll-loops',
'-ffast-math', '-flto=auto', '-Xpreprocessor', '-O3',
'-Wno-header-guard', '-Wno-pessimizing-move'
] + cpp_files

core_build_args = exe_build_args + ['-shared', '-o', OUTPUT_CORE]
Expand Down

0 comments on commit 780e532

Please sign in to comment.