I am using gcc 10
```
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\CI-Tools\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/CI-Tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-10.2.0/configure --prefix=/mingw64
--with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include
--libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64
--with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++
--enable-shared --enable-static --enable-libatomic --enable-threads=posix
--enable-graphite --enable-fully-dynamic-string
--enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes
--disable-libstdcxx-pch --disable-libstdcxx-debug
--disable-isl-version-check --enable-lto --enable-libgomp
--disable-multilib --enable-checking=release --disable-rpath
--disable-win32-registry --disable-nls --disable-werror --disable-symvers
--disable-plugin --with-libiconv --with-system-zlib --with-gmp=/mingw64
--with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64
--with-pkgversion='Rev1, Built by MSYS2 project' --with-bugurl=
https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Rev1, Built by MSYS2 project)

```

On Tue, Aug 25, 2020 at 6:25 PM Marc-André Lureau <
[email protected]> wrote:

> Hi
>
> On Tue, Aug 25, 2020 at 4:17 AM <[email protected]> wrote:
>
>> From: Yonggang Luo <[email protected]>
>>
>> ---
>>  meson.build | 3 +--
>>  1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/meson.build b/meson.build
>> index df5bf728b5..a3585881e1 100644
>> --- a/meson.build
>> +++ b/meson.build
>> @@ -224,8 +224,7 @@ if 'CONFIG_BRLAPI' in config_host
>>    brlapi = declare_dependency(link_args:
>> config_host['BRLAPI_LIBS'].split())
>>  endif
>>
>> -sdl = dependency('sdl2', required: get_option('sdl'), static:
>> enable_static,
>> -                 include_type: 'system')
>> +sdl = dependency('sdl2', required: get_option('sdl'), static:
>> enable_static)
>>  sdl_image = not_found
>>  if sdl.found()
>>    # work around 2.0.8 bug
>> --
>> 2.27.0.windows.1
>>
>>
>>
> Which version of gcc are you using?
>
> Paolo, why did you you -isystem includes here? (if it's on purpose, it's
> worth to document it in build-system.rst since it takes sdl as an example
> and doesn't mention this)
>
>
> --
> Marc-André Lureau
>


-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo

Reply via email to