As a resolution, can we quote these values and have this behavior obeyed?  

> On Aug 28, 2016, at 9:46 AM, Christopher Collins (JIRA) <j...@apache.org> 
> wrote:
> 
> 
>     [ 
> https://issues.apache.org/jira/browse/MYNEWT-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
> 
> Christopher Collins resolved MYNEWT-231.
> ----------------------------------------
>    Resolution: Won't Fix
> 
> Unfortunately, this is caused by the underlying Viper library - it splits 
> values on whitespace by calling strings.Fields(v):
> 
> {code}
> func ToStringSliceE(i interface{}) ([]string, error) {
>    jww.DEBUG.Println("ToStringSliceE called on type:", reflect.TypeOf(i))
> 
>    var a []string
> 
>    switch v := i.(type) {
>    case []interface{}:
>        for _, u := range v {
>            a = append(a, ToString(u))
>        }
>        return a, nil
>    case []string:
>        return v, nil
>    case string:
>        return strings.Fields(v), nil
>    case interface{}:
>        str, err := ToStringE(v)
>        if err != nil {
>            return a, fmt.Errorf("Unable to Cast %#v to []string", i)
>        }
>        return []string{str}, nil
>    default:
>        return a, fmt.Errorf("Unable to Cast %#v to []string", i)
>    }
> }
> {code}
> 
>> newt when processing the pkt.cflags stuff doesn't like a space between -I 
>> and the include path.  It seems to omit the -I 
>> -------------------------------------------------------------------------------------------------------------------------
>> 
>>                Key: MYNEWT-231
>>                URL: https://issues.apache.org/jira/browse/MYNEWT-231
>>            Project: Mynewt
>>         Issue Type: Improvement
>>           Reporter: Paul Dietrich
>>           Assignee: Christopher Collins
>>            Fix For: v1_0_0_beta1
> 
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)

Reply via email to