Giter VIP home page Giter VIP logo

meson_bug_array_sum_incdir's Introduction

Test setting

This bug has been reproduced in meson 0.50.1 on MacOS X High Sierra 10.13.6

Summary

Cannot directly sum arrays and include_directories(''):

Reproduce

This Works

ic = []
ic += include_directories('.')

This Fails

ic = [] + include_directories('.')

Run example

From repository root run

โžœ  bug_include_directories git:(master) meson build      
The Meson build system
Version: 0.50.1
Source dir: /Users/leogermond/Lab/meson/bug_include_directories
Build dir: /Users/leogermond/Lab/meson/bug_include_directories/build
Build type: native build
Project name: a
Project version: undefined
Native C compiler: cc (clang 10.0.0 "Apple LLVM version 10.0.0 (clang-1000.10.44.4)")
Build machine cpu family: x86_64
Build machine cpu: x86_64

fails/meson.build:1:0: ERROR: Invalid use of addition: can only concatenate list (not "IncludeDirsHolder") to list

A full log can be found at /Users/leogermond/Lab/meson/bug_include_directories/build/meson-logs/meson-log.txt

meson_bug_array_sum_incdir's People

Contributors

leogermond avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.