[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: equivalent for C-style init: structname varname[] = {...} ?
From: |
Francesco Potortì |
Subject: |
Re: equivalent for C-style init: structname varname[] = {...} ? |
Date: |
Wed, 21 Nov 2012 15:14:08 +0100 |
>>>> Having Octave barf on something on which Matlab barfs is a definite
>>>> plus.
>>>
>>>What, you mean like barf on "endif" and "endfor" and double quotes?
>>
>> I think that --traditional does it, doesn't it?
>
>No, that command-line argument only affects superficial cosmetic
>changes. There is "warning on Octave:matlab-incompatible", but note
>bug #36743:
>
> https://savannah.gnu.org/bugs/?36743
Thank you. I miss a reference in the manual from --traditional to this
warning. Unfortunately I do not have time to create a patch, but I'll
post a bug report.
>Also, we decided to allow arbitrary strings as struct field names, but
>warn about them:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/f2b8f90052fd
> http://hg.savannah.gnu.org/hgweb/octave/rev/808e4f13e220
This appears reasonable to me.
--
Francesco Potortì (ricercatore) Voice: +39.050.315.3058 (op.2111)
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it
- Re: equivalent for C-style init: structname varname[] = {...} ?, (continued)
- Re: equivalent for C-style init: structname varname[] = {...} ?, edmund ronald, 2012/11/20
- Re: equivalent for C-style init: structname varname[] = {...} ?, Jordi Gutiérrez Hermoso, 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, Ben Abbott, 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, Jordi Gutiérrez Hermoso, 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, Ben Abbott, 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, Salva Ardid, 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, Dimitri Maziuk, 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, c., 2012/11/21
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/20
- Re: equivalent for C-style init: structname varname[] = {...} ?, Ben Abbott, 2012/11/20
- Re: equivalent for C-style init: structname varname[] = {...} ?,
Francesco Potortì <=
- Re: equivalent for C-style init: structname varname[] = {...} ?, Dimitri Maziuk, 2012/11/19
- Re: equivalent for C-style init: structname varname[] = {...} ?, Jordi Gutiérrez Hermoso, 2012/11/19
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/19
- Re: equivalent for C-style init: structname varname[] = {...} ?, Dimitri Maziuk, 2012/11/19
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/19
- Acknowledge in paper, Ismael Diego Nunez-Riboni, 2012/11/14
- Re: Acknowledge in paper, Juan Pablo Carbajal, 2012/11/14
- Re: Acknowledge in paper, Nicholas Jankowski, 2012/11/14
- Re: Acknowledge in paper, c., 2012/11/14
- Re: Acknowledge in paper, Nicholas Jankowski, 2012/11/14