octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interpfcn/toplev.cc:1295:24: error: too many decimal points in numbe


From: John W. Eaton
Subject: Re: interpfcn/toplev.cc:1295:24: error: too many decimal points in number
Date: Fri, 01 Mar 2013 08:21:08 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

On 03/01/2013 08:12 AM, Ben Abbott wrote:

The lines in toplev.cc are all with in octave_config_info.  Line 1295 is below.

1293       { false, "CXX_VERSION", OCTAVE_CONF_CXX_VERSION },
1294       { false, "DEFAULT_PAGER", OCTAVE_DEFAULT_PAGER },
1295       { false, "DEFS", OCTAVE_CONF_DEFS },
1296       { false, "DL_LD", OCTAVE_CONF_DL_LD },
1297       { false, "DL_LDFLAGS", OCTAVE_CONF_DL_LDFLAGS },

The OCTAVE_CONF_DEFS definition in oct-conf.h begins with ...

#define OCTAVE_CONF_DEFS "-DPACKAGE_NAME="GNU Octave"

Which has an nested double-quotes. Other definitions also have the nested 
double-quote.  For example, OCTAVE_CONF_UGLY_DEFS

#define OCTAVE_CONF_UGLY_DEFS "-DPACKAGE_NAME="GNU Octave"<snip>

I presume the interior quotes should be single?  And the OCTAVE_CONF_DEFS 
should begin as?

#define OCTAVE_CONF_DEFS "-DPACKAGE_NAME='GNU Octave'

On my system, the inner double quote characters are escaped:

  #define OCTAVE_CONF_DEFS "-DPACKAGE_NAME=\"GNU Octave\" ...

In any event, I don't see where the problem was introduced, or why this happens 
on MacOS X.

I'm guessing some difference in sed or shell escape processing.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]